Thread Starter
digo
(@digo)
seems to be line 6 in /assests/js/datepicker.js:
.ajaxComplete(function() {
dtp_init();
});
When I comment dtp_init, datepicker works fine
-
This reply was modified 6 years, 7 months ago by
digo.
Hi @digo
Yes, that’s most likely it.
That line of code exists because on some cases the form was displaying in a lightbox generated with ajax. In your case there’s probably a ajax call running when the form changes and this is restarting the datepicker. You can keep that line commented out for now.
In a future release I’ll probably include an option in the settings to force the ajax trigger, which will be disabled by default, instead of doing it by default.
Thank you for reporting this.
Greetings, Carlos