• Resolved digo

    (@digo)


    Hey!
    When I pick a new date/time the date in the edit-field jumps back to default-date
    (1-2 seconds)

    Thanks
    Digo

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 5 years, 1 month 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘date jumps back to default-value’ is closed to new replies.