Rename the working plan bindEventListeners to addEventListeners

This commit is contained in:
Alex Tselegidis 2022-01-18 08:47:16 +01:00
parent 1690ba7b10
commit 7b2315c371
3 changed files with 4 additions and 4 deletions

View file

@ -146,7 +146,7 @@ App.Pages.BusinessSettings = (function () {
workingPlanManager = new App.Utils.WorkingPlan();
workingPlanManager.setup(companyWorkingPlan);
workingPlanManager.timepickers(false);
workingPlanManager.bindEventHandlers();
workingPlanManager.addEventListeners();
$saveSettings.on('click', onSaveSettingsClick);

View file

@ -527,7 +527,7 @@ App.Pages.Providers = (function () {
*/
function initialize() {
workingPlanManager = new App.Utils.WorkingPlan();
workingPlanManager.bindEventHandlers();
workingPlanManager.addEventListeners();
resetForm();
filter('');

View file

@ -342,9 +342,9 @@ App.Utils.WorkingPlan = (function () {
});
}
/**
* Bind the event handlers.
* Add the utility event listeners.
*/
bindEventHandlers() {
addEventListeners() {
/**
* Event: Day Checkbox "Click"
*