Fix some dashbiard issues
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"dist/css/all.css": "dist/css/all-0a0328c0cc.css",
|
||||
"dist/js/all.js": "dist/js/all-47747ca921.js"
|
||||
"dist/js/all.js": "dist/js/all-e705b7b737.js"
|
||||
}
|
||||
@@ -41,9 +41,7 @@ $(function() {
|
||||
var methodForm = "\n";
|
||||
methodForm += "<form action='" + $(this).attr('href') + "' method='POST' style='display:none'>\n";
|
||||
methodForm += "<input type='hidden' name='_method' value='" + $(this).attr('data-method') + "'>\n";
|
||||
if ($(this).attr('data-token')) {
|
||||
methodForm += "<input type='hidden' name='_token' value='" + $(this).attr('data-token') + "'>\n";
|
||||
}
|
||||
methodForm += "<input type='hidden' name='_token' value='" + $('meta[name=token]').attr('content') + "'>\n";
|
||||
methodForm += "</form>\n";
|
||||
return methodForm;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user