Fix typo.

This commit is contained in:
Sébastien 2020-05-04 21:13:13 +02:00
parent 07276d46a6
commit 6f1604d452
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ window.BackendCalendarExtraPeriodsModal = window.BackendCalendarExtraPeriodsModa
GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' + GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' +
'the operation could not complete due to server communication errors.'); 'the operation could not complete due to server communication errors.');
$dialog.find('.modal-message').txt(EALang.service_communication_error); $dialog.find('.modal-message').text(EALang.service_communication_error);
$dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden'); $dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden');
}; };

View file

@ -72,7 +72,7 @@ window.BackendCalendarUnavailabilitiesModal = window.BackendCalendarUnavailabili
GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' + GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' +
'the operation could not complete due to server communication errors.'); 'the operation could not complete due to server communication errors.');
$dialog.find('.modal-message').txt(EALang.service_communication_error); $dialog.find('.modal-message').text(EALang.service_communication_error);
$dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden'); $dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden');
}; };