Code refactoring and improvements for the calendar page.
This commit is contained in:
parent
5c5498670c
commit
0a7f40a65e
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@
|
||||||
* This module implements the functionality of the backend calendar page.
|
* This module implements the functionality of the backend calendar page.
|
||||||
*/
|
*/
|
||||||
App.Pages.Calendar = (function () {
|
App.Pages.Calendar = (function () {
|
||||||
|
const $insertWorkingPlanException = $('#insert-working-plan-exception');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the page event listeners.
|
* Add the page event listeners.
|
||||||
*/
|
*/
|
||||||
|
@ -54,7 +56,7 @@ App.Pages.Calendar = (function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#insert-working-plan-exception').on('click', () => {
|
$insertWorkingPlanException.on('click', () => {
|
||||||
const providerId = $('#select-filter-item').val();
|
const providerId = $('#select-filter-item').val();
|
||||||
|
|
||||||
const provider = App.Vars.available_providers.find((availableProvider) => {
|
const provider = App.Vars.available_providers.find((availableProvider) => {
|
||||||
|
|
Loading…
Reference in a new issue