mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 20:20:34 +09:00
Merge pull request #216 from MindTooth/fix_error
Fixes compile error with webpack.mix.js and app.js
This commit is contained in:
1786
public/js/app.js
vendored
1786
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
4
public/mix-manifest.json
generated
4
public/mix-manifest.json
generated
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"/js/app.js": "/js/app.js?id=58b8bcf2d5c2eee74c51",
|
||||
"/css/app.css": "/css/app.css?id=e405a67622368f195d1b"
|
||||
"/css/app.css": "/css/app.css?id=e405a67622368f195d1b",
|
||||
"/js/app.js": "/js/app.js?id=32cbf6f4924b46ae7e05"
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
import Huebee from 'huebee';
|
||||
window.Huebee = Huebee;
|
||||
|
||||
$.when( $.ready ).then(function() {
|
||||
|
||||
if($('.message-container').length) {
|
||||
@@ -122,7 +119,7 @@ $.when( $.ready ).then(function() {
|
||||
e.preventDefault();
|
||||
var apiurl = $('#create input[name=url]').val();
|
||||
|
||||
var override_url = $('#create input[name="config[override_url]"').val();
|
||||
var override_url = $('#create input[name="config[override_url]"]').val();
|
||||
if(override_url.length && override_url != '') {
|
||||
apiurl = override_url;
|
||||
}
|
||||
@@ -134,7 +131,7 @@ $.when( $.ready ).then(function() {
|
||||
data[config] = $(this).val();
|
||||
});
|
||||
|
||||
$.post('/test_config', { data }, function(data) {
|
||||
$.post('/test_config', { data: data }, function(data) {
|
||||
alert(data);
|
||||
});
|
||||
|
||||
|
||||
2
webpack.mix.js
vendored
2
webpack.mix.js
vendored
@@ -11,7 +11,7 @@ let mix = require('laravel-mix');
|
||||
|
|
||||
*/
|
||||
|
||||
mix.js([
|
||||
mix.scripts([
|
||||
//'resources/assets/js/jquery-ui.min.js',
|
||||
'resources/assets/js/huebee.js',
|
||||
'resources/assets/js/app.js'
|
||||
|
||||
Reference in New Issue
Block a user