From 588db71497cecd95772174a11562de5d616fa4b8 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 12 Jan 2022 11:20:41 +0100 Subject: [PATCH] Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in frontend_book.js --- assets/js/pages/frontend_book.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/js/pages/frontend_book.js b/assets/js/pages/frontend_book.js index e44f7e50..e6edd5df 100644 --- a/assets/js/pages/frontend_book.js +++ b/assets/js/pages/frontend_book.js @@ -14,9 +14,8 @@ window.FrontendBook = window.FrontendBook || {}; /** * Frontend Book * - * This module contains functions that implement the book appointment page functionality. Once the - * initialize() method is called the page is fully functional and can serve the appointment booking - * process. + * This module contains functions that implement the book appointment page functionality. Once the "initialize" method + * is called the page is fully functional and can serve the appointment booking process. * * @module FrontendBook */ @@ -424,7 +423,7 @@ window.FrontendBook = window.FrontendBook || {}; } ]; - GeneralFunctions.displayMessageBox( + App.Utils.Message.show( App.Lang.cancel_appointment_title, App.Lang.write_appointment_removal_reason, buttons @@ -458,7 +457,7 @@ window.FrontendBook = window.FrontendBook || {}; } ]; - GeneralFunctions.displayMessageBox( + App.Utils.Message.show( App.Lang.delete_personal_information, App.Lang.delete_personal_information_prompt, buttons