Restore some code after merge.
This commit is contained in:
parent
516830b5fe
commit
dc704aa1d4
1 changed files with 1 additions and 9 deletions
|
@ -68,15 +68,7 @@ window.BackendCalendarUnavailabilitiesModal = window.BackendCalendarUnavailabili
|
||||||
$('#select-filter-item').trigger('change');
|
$('#select-filter-item').trigger('change');
|
||||||
};
|
};
|
||||||
|
|
||||||
var errorCallback = function (jqXHR, textStatus, errorThrown) {
|
BackendCalendarApi.saveUnavailable(unavailable, successCallback, GeneralFunctions.ajaxFailureHandler);
|
||||||
GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' +
|
|
||||||
'the operation could not complete due to server communication errors.');
|
|
||||||
|
|
||||||
$dialog.find('.modal-message').text(EALang.service_communication_error);
|
|
||||||
$dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden');
|
|
||||||
};
|
|
||||||
|
|
||||||
BackendCalendarApi.saveUnavailable(unavailable, successCallback, errorCallback);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue