mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-08 17:12:25 +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,
|
||||
EALang.write_appointment_removal_reason, buttons);
|
||||
|
||||
$('#message_box').append('<textarea id="delete-reason" rows="3"></textarea>');
|
||||
$('#delete-reason').css('width', '100%');
|
||||
$('<textarea/>', {
|
||||
'class': 'form-control w-100',
|
||||
'id': 'delete-reason',
|
||||
'rows': '3',
|
||||
})
|
||||
.appendTo('#message_box');
|
||||
} else {
|
||||
// Do not display confirmation prompt.
|
||||
url = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_delete_unavailable';
|
||||
|
|
Loading…
Reference in a new issue