diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index 566a235b..163bd86b 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -363,14 +363,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; && GlobalVariables.user.privileges.appointments.delete === true) ? '' : 'hide'; // Same value at the time. - var provider = ''; - - if (event.data) { // Only custom unavailable periods have notes. - provider = '' + EALang.provider + ' ' + event.data.first_name + ' ' + event.data.last_name; - } - - var extraPeriod = jQuery.parseJSON(event.data.settings.extra_working_plan)[event.start.format()]; - $html = $('
', { 'html': [ $('', { diff --git a/assets/js/backend_calendar_extra_periods_modal.js b/assets/js/backend_calendar_extra_periods_modal.js index 51dcfc47..4403e2a4 100644 --- a/assets/js/backend_calendar_extra_periods_modal.js +++ b/assets/js/backend_calendar_extra_periods_modal.js @@ -87,7 +87,7 @@ window.BackendCalendarExtraPeriodsModal = window.BackendCalendarExtraPeriodsModa GeneralFunctions.displayMessageBox('Communication Error', 'Unfortunately ' + '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'); }; diff --git a/assets/js/general_functions.js b/assets/js/general_functions.js index a4ae173b..8973df9c 100755 --- a/assets/js/general_functions.js +++ b/assets/js/general_functions.js @@ -313,7 +313,7 @@ window.GeneralFunctions = window.GeneralFunctions || {}; return; } - GeneralFunctions.displayMessageBox(EALang.unexpected_issues, EALang.unexpected_issues_message, []); + GeneralFunctions.displayMessageBox(EALang.unexpected_issues, EALang.unexpected_issues_message); $('', { 'class': 'well',