mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-24 17:03:27 +03:00
Correct the default status value.
This commit is contained in:
parent
6bb4bedea1
commit
359c458404
1 changed files with 2 additions and 1 deletions
|
@ -403,7 +403,8 @@ App.Components.AppointmentsModal = (function () {
|
|||
$appointmentsModal.find('input, textarea').val('');
|
||||
$appointmentsModal.find('.modal-message').fadeOut();
|
||||
|
||||
$appointmentStatus.find('option:first').prop('checked', true);
|
||||
const defaultStatusValue = $appointmentStatus.find('option:first').val();
|
||||
$appointmentStatus.val(defaultStatusValue);
|
||||
|
||||
$language.val('english');
|
||||
$timezone.val('UTC');
|
||||
|
|
Loading…
Reference in a new issue