summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoublerebel <charles@doublerebel.com>2010-11-26 15:16:06 -0800
committerdoublerebel <charles@doublerebel.com>2010-11-26 15:16:06 -0800
commit749e97b72adbf50e8f30c1f1a863d90bb9f79be3 (patch)
tree7adee563ca0d1542851ac65dec14a1783d010fc5
parent4d6402ad9753f5347ef2429160049d54b2bbabf6 (diff)
downloadjQuery-Timepicker-Addon-749e97b72adbf50e8f30c1f1a863d90bb9f79be3.zip
jQuery-Timepicker-Addon-749e97b72adbf50e8f30c1f1a863d90bb9f79be3.tar.gz
jQuery-Timepicker-Addon-749e97b72adbf50e8f30c1f1a863d90bb9f79be3.tar.bz2
Fix to prevent datetimepicker from closing when date is chosen (bug introduced in earlier commit)
-rw-r--r--jquery-ui-timepicker-addon.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index 68b837c..508fa28 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -2,7 +2,7 @@
* jQuery timepicker addon
* By: Trent Richardson [http://trentrichardson.com]
* Version 0.8.1
-* Last Modified: 11/21/2010 by Charles Phillips
+* Last Modified: 11/26/2010 by Charles Phillips
*
* Copyright 2010 Trent Richardson
* Dual licensed under the MIT and GPL licenses.
@@ -574,8 +574,8 @@ $.datepicker._selectDate = function (id, dateStr) {
if (tp_inst) {
inst.inline = inst.stay_open = true;
- inst.stay_open = inst.inline = false;
this._base_selectDate(id, dateStr);
+ inst.inline = inst.stay_open = false;
this._notifyChange(inst);
this._updateDatepicker(inst);
}