forked from mirrors/easyappointments
Fix link appointment form
Fix form filling when open an appointment from a link
This commit is contained in:
parent
383b664664
commit
3458744933
1 changed files with 4 additions and 1 deletions
|
@ -318,7 +318,10 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
// If the appointment is opened from a link it triggers the previous function to fill the form
|
||||
if (window.location.href.indexOf("backend/index/") > -1) {
|
||||
$('#select-service').change();
|
||||
}
|
||||
/**
|
||||
* Event: Enter New Customer Button "Click"
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue