Introduce a "Save" button for the admin schedule
The changes were saved after you drop an event, and now it only saves the schedule when you're done with the changes and click the "Save" button.
This commit is contained in:
parent
de2e316fee
commit
6f0cdc64c3
4 changed files with 105 additions and 57 deletions
|
|
@ -23,7 +23,7 @@ $(function () {
|
|||
}
|
||||
|
||||
var callback = function(data) {
|
||||
showError($.parseJSON(data.responseText).errors);
|
||||
showMessage($.parseJSON(data.responseText).errors, 'error');
|
||||
}
|
||||
$.ajax({
|
||||
url: url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue