Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in business_nesttings.js

This commit is contained in:
Alex Tselegidis 2022-01-12 11:21:59 +01:00
parent ce0b5b0747
commit 90b1d4671c

View file

@ -17,7 +17,6 @@
App.Pages.BusinessSettings = (function () { App.Pages.BusinessSettings = (function () {
const $saveSettings = $('#save-settings'); const $saveSettings = $('#save-settings');
const $applyGlobalWorkingPlan = $('#apply-global-working-plan'); const $applyGlobalWorkingPlan = $('#apply-global-working-plan');
let workingPlanManager = null; let workingPlanManager = null;
/** /**
@ -125,7 +124,7 @@ App.Pages.BusinessSettings = (function () {
} }
]; ];
GeneralFunctions.displayMessageBox(App.Lang.working_plan, App.Lang.overwrite_existing_working_plans, buttons); App.Utils.Message.show(App.Lang.working_plan, App.Lang.overwrite_existing_working_plans, buttons);
} }
function init() { function init() {