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
1 changed files with 2 additions and 0 deletions

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');