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:
Ana 2016-07-22 17:57:26 +02:00 committed by Ana María Martínez Gómez
parent de2e316fee
commit 6f0cdc64c3
4 changed files with 105 additions and 57 deletions

View file

@ -23,7 +23,7 @@ $(function () {
}
var callback = function(data) {
showError($.parseJSON(data.responseText).errors);
showMessage($.parseJSON(data.responseText).errors, 'error');
}
$.ajax({
url: url,