diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-03 15:36:33 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-03 15:36:33 -0400 |
commit | 4ade13450e7145100dcce3356eb1449e1a5f7090 (patch) | |
tree | 50c345a9d79e3bc93b6addc259b0896e38b3a385 | |
parent | e0616aaf746a144057555f4bd3d964aa5c16940f (diff) | |
download | jquery-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.js | 2 |
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 |