Correct the display of the cancellation message box
This commit is contained in:
parent
6245d389b2
commit
01d03f50a6
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue