Using flash instead of alerts in the schedule

Using flash instead of alerts in the schedule to notify errors.

Also, a message shown when a schedule is successfully created.
This commit is contained in:
Ana 2016-08-05 20:04:26 +02:00
parent 81108290e5
commit 5761e0f7a4
7 changed files with 19 additions and 11 deletions

View file

@ -24,7 +24,7 @@ $(function () {
var callback = function(data) {
if(data.status != 'ok'){
alert("The schedule couldn't been updated");
showError(data.status);
}
}
$.ajax({