Correct the display of the cancellation message box

This commit is contained in:
Alex Tselegidis 2023-02-21 08:08:09 +01:00
parent 6245d389b2
commit 01d03f50a6

View file

@ -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;
});