mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Corrected loading selector use.
This commit is contained in:
parent
488860f9fe
commit
6b83cc6083
1 changed files with 2 additions and 2 deletions
|
@ -852,7 +852,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
};
|
||||
|
||||
|
||||
$loading.css('visibility', 'hidden');
|
||||
$('#loading').css('visibility', 'hidden');
|
||||
|
||||
return $.post(url, data, function (response) {
|
||||
if (!GeneralFunctions.handleAjaxExceptions(response)) {
|
||||
|
@ -1195,7 +1195,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
}, 'json')
|
||||
.fail(GeneralFunctions.ajaxFailureHandler)
|
||||
.always(function() {
|
||||
$loading.css('visibility', '')
|
||||
$('#loading').css('visibility', '')
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue