Skip to content

Commit 3ca9079

Browse files
committed
Update text field when time is set with setDate or setTime methods (fixes bug I introduced in commit 496ee3a for _onTimeChange)
1 parent 4862093 commit 3ca9079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,8 @@ $.datepicker._setTime = function(inst, date) {
684684
if (tp_inst.second_slider) tp_inst.second_slider.slider('value', second);
685685
else tp_inst.second = second;
686686

687-
tp_inst._onTimeChange(true);
687+
tp_inst._onTimeChange();
688+
tp_inst._updateDateTime();
688689
}
689690
};
690691

0 commit comments

Comments
 (0)