EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
datepicker refresh
Yuri Kuznetsov452d5df98c6b
diff --git a/client/src/ui/datepicker.js b/client/src/ui/datepicker.jsindex 8e464cbb2c..0c93c7387a 100644--- a/client/src/ui/datepicker.js+++ b/client/src/ui/datepicker.js@@ -233,6 +233,19 @@ class Datepicker {return moment(date).format(this.format);}++ /**+ * Refresh.+ */+ refresh() {+ const picker = this.$element.data('datepicker');++ if (!picker) {+ return;+ }++ picker.fill();+ }}export default Datepicker;