mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 18:12:26 +03:00
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 = [
|
const buttons = [
|
||||||
{
|
{
|
||||||
text: lang('cancel'),
|
text: lang('close'),
|
||||||
click: (event, messageModal) => {
|
click: (event, messageModal) => {
|
||||||
messageModal.dispose();
|
messageModal.dispose();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'OK',
|
text: lang('confirm'),
|
||||||
click: () => {
|
click: () => {
|
||||||
if ($cancellationReason.val() === '') {
|
if ($cancellationReason.val() === '') {
|
||||||
$cancellationReason.css('border', '2px solid #DC3545');
|
$cancellationReason.css('border', '2px solid #DC3545');
|
||||||
|
@ -413,7 +413,7 @@ App.Pages.Booking = (function () {
|
||||||
'css': {
|
'css': {
|
||||||
'width': '100%'
|
'width': '100%'
|
||||||
}
|
}
|
||||||
}).appendTo('#message-box');
|
}).appendTo('#message-modal .modal-body');
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue