diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index b5cfe138..3929bbad 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -725,8 +725,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.appointment_updated, [ @@ -773,8 +774,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.unavailable_updated, [ @@ -893,8 +895,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.appointment_updated, [ @@ -942,8 +945,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.unavailable_updated, [ diff --git a/assets/js/backend_calendar_table_view.js b/assets/js/backend_calendar_table_view.js index fcb75b65..f0a4818f 100755 --- a/assets/js/backend_calendar_table_view.js +++ b/assets/js/backend_calendar_table_view.js @@ -1458,8 +1458,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.appointment_updated, [ @@ -1506,8 +1507,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.unavailable_updated, [ @@ -1595,8 +1597,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.appointment_updated, [ @@ -1645,8 +1648,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; $.post(url, data) .done(function () { $('#notification').hide('blind'); - revertFunc(); }); + + revertFunc(); }; Backend.displayNotification(EALang.unavailable_updated, [