mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
double-click on today button does not trigger change event
Double-clicking on the "today button", which changes the value of the input to the current date and time, does not trigger a change event. Manually selecting a date or a time does trigger a change event. Proposed edit makes this behavior consistent.
This commit is contained in:
parent
d070799dc8
commit
092de053a1
@ -1388,6 +1388,7 @@
|
||||
return;
|
||||
}
|
||||
input.val(_xdsoft_datetime.str());
|
||||
input.trigger('change');
|
||||
datetimepicker.trigger('close.xdsoft');
|
||||
});
|
||||
mounth_picker
|
||||
|
Loading…
Reference in New Issue
Block a user