diff --git a/application/views/backend/calendar.php b/application/views/backend/calendar.php index 82c23e3e..d59b2a26 100755 --- a/application/views/backend/calendar.php +++ b/application/views/backend/calendar.php @@ -329,9 +329,9 @@ @@ -395,9 +395,9 @@ @@ -456,8 +456,8 @@ @@ -480,8 +480,8 @@ diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index bad9ef7c..258ceb9f 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -161,6 +161,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; } else if (lastFocusedEventData.data.is_unavailable === '0') { var buttons = [ + { + text: EALang.cancel, + click: function () { + $('#message-box').dialog('close'); + } + }, { text: 'OK', click: function () { @@ -181,12 +187,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; }) .fail(GeneralFunctions.ajaxFailureHandler); } - }, - { - text: EALang.cancel, - click: function () { - $('#message-box').dialog('close'); - } } ]; @@ -197,7 +197,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; $('