mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
The delete reason textarea has the "form-control" class.
This commit is contained in:
parent
889f093942
commit
b0b8620379
1 changed files with 6 additions and 2 deletions
|
@ -194,8 +194,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
||||||
GeneralFunctions.displayMessageBox(EALang.delete_appointment_title,
|
GeneralFunctions.displayMessageBox(EALang.delete_appointment_title,
|
||||||
EALang.write_appointment_removal_reason, buttons);
|
EALang.write_appointment_removal_reason, buttons);
|
||||||
|
|
||||||
$('#message_box').append('<textarea id="delete-reason" rows="3"></textarea>');
|
$('<textarea/>', {
|
||||||
$('#delete-reason').css('width', '100%');
|
'class': 'form-control w-100',
|
||||||
|
'id': 'delete-reason',
|
||||||
|
'rows': '3',
|
||||||
|
})
|
||||||
|
.appendTo('#message_box');
|
||||||
} else {
|
} else {
|
||||||
// Do not display confirmation prompt.
|
// Do not display confirmation prompt.
|
||||||
url = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_delete_unavailable';
|
url = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_delete_unavailable';
|
||||||
|
|
Loading…
Reference in a new issue