From 749e97b72adbf50e8f30c1f1a863d90bb9f79be3 Mon Sep 17 00:00:00 2001 From: doublerebel Date: Fri, 26 Nov 2010 15:16:06 -0800 Subject: [PATCH] Fix to prevent datetimepicker from closing when date is chosen (bug introduced in earlier commit) --- jquery-ui-timepicker-addon.js | 4 ++-- 1 file 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); }