summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoublerebel <charles@doublerebel.com>2010-12-05 14:18:16 -0800
committerdoublerebel <charles@doublerebel.com>2010-12-05 14:18:16 -0800
commit3ca9079892ece2a1cdfe340c327a7d8cfe4fcd6a (patch)
tree2c77ce933b2d047ccaa2beb594b25d4cb3c0cab2
parent48620930ab3f5a19413685a391ec90e3e3ee14d2 (diff)
downloadjQuery-Timepicker-Addon-3ca9079892ece2a1cdfe340c327a7d8cfe4fcd6a.zip
jQuery-Timepicker-Addon-3ca9079892ece2a1cdfe340c327a7d8cfe4fcd6a.tar.gz
jQuery-Timepicker-Addon-3ca9079892ece2a1cdfe340c327a7d8cfe4fcd6a.tar.bz2
Update text field when time is set with setDate or setTime methods (fixes bug I introduced in commit 496ee3a for _onTimeChange)
-rw-r--r--jquery-ui-timepicker-addon.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index 6010a18..88e7789 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -684,7 +684,8 @@ $.datepicker._setTime = function(inst, date) {
if (tp_inst.second_slider) tp_inst.second_slider.slider('value', second);
else tp_inst.second = second;
- tp_inst._onTimeChange(true);
+ tp_inst._onTimeChange();
+ tp_inst._updateDateTime();
}
};