fix: datepicker issue in filter popover

This commit is contained in:
prssanna 2020-12-07 15:06:24 +05:30
parent 6fa0bebceb
commit 3af366b2d5

View file

@ -44,7 +44,7 @@ frappe.ui.FilterGroup = class {
$(document.body).on('click', (e) => {
if (this.wrapper && this.wrapper.is(':visible')) {
const in_datepicker = $(e.target).is('.datepicker--cell')
|| $(e.target).is('.datepicker--nav-title')
|| $(e.target).closest('.datepicker--nav-title').length !== 0
|| $(e.target).parents('.datepicker--nav-action').length !== 0;
if (