aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-03 15:36:33 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-03 15:36:33 -0400
commit4ade13450e7145100dcce3356eb1449e1a5f7090 (patch)
tree50c345a9d79e3bc93b6addc259b0896e38b3a385
parente0616aaf746a144057555f4bd3d964aa5c16940f (diff)
downloadjquery-ui-4ade13450e7145100dcce3356eb1449e1a5f7090.tar.gz
jquery-ui-4ade13450e7145100dcce3356eb1449e1a5f7090.zip
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index c0de503f5..a92c9fafa 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -801,10 +801,8 @@ $.extend(Datepicker.prototype, {
if (this._datepickerShowing) {
var showAnim = this._get(inst, 'showAnim');
var duration = this._get(inst, 'duration');
- var that = this;
var postProcess = function() {
$.datepicker._tidyDialog(inst);
- that._curInst = null;
};
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed