From 01d03f50a640646e37e32b0ab110dfbf15c35c37 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 21 Feb 2023 08:08:09 +0100 Subject: [PATCH] Correct the display of the cancellation message box --- assets/js/pages/booking.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/pages/booking.js b/assets/js/pages/booking.js index 2559c3de..45977cb1 100644 --- a/assets/js/pages/booking.js +++ b/assets/js/pages/booking.js @@ -382,13 +382,13 @@ App.Pages.Booking = (function () { const buttons = [ { - text: lang('cancel'), + text: lang('close'), click: (event, messageModal) => { messageModal.dispose(); } }, { - text: 'OK', + text: lang('confirm'), click: () => { if ($cancellationReason.val() === '') { $cancellationReason.css('border', '2px solid #DC3545'); @@ -413,7 +413,7 @@ App.Pages.Booking = (function () { 'css': { 'width': '100%' } - }).appendTo('#message-box'); + }).appendTo('#message-modal .modal-body'); return false; });