mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
Update exposed calendar page methods
This commit is contained in:
parent
1fbe17aade
commit
0041e29ec7
1 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@
|
||||||
App.Pages.Calendar = (function () {
|
App.Pages.Calendar = (function () {
|
||||||
const $insertWorkingPlanException = $('#insert-working-plan-exception');
|
const $insertWorkingPlanException = $('#insert-working-plan-exception');
|
||||||
|
|
||||||
|
const moment = window.moment;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the page event listeners.
|
* Add the page event listeners.
|
||||||
*/
|
*/
|
||||||
|
@ -150,13 +152,13 @@ App.Pages.Calendar = (function () {
|
||||||
App.Utils.CalendarDefaultView.initialize();
|
App.Utils.CalendarDefaultView.initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
addEventListeners();
|
App.Pages.Calendar.addEventListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', initialize);
|
document.addEventListener('DOMContentLoaded', initialize);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
initialize,
|
addEventListeners,
|
||||||
getSelectionEndDate,
|
getSelectionEndDate,
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue