Close popover when inserting new appointment (#773).

This commit is contained in:
Alex Tselegidis 2020-08-15 16:33:26 +03:00
parent ad509e8f22
commit 143624b7d8

View file

@ -125,6 +125,8 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
* create a new appointment.
*/
$('#insert-appointment').click(function () {
$('.popover').remove();
BackendCalendarAppointmentsModal.resetAppointmentDialog();
var $dialog = $('#manage-appointment');