diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-03 15:37:56 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-03 15:37:56 -0400 |
commit | fc6e72bf7399ecde5f15de88fd750a9a49b55b77 (patch) | |
tree | b6627e502345f5f08ecdc6db93679aa62f933464 | |
parent | 97d9628929870bf1ce451d2909c12f7f69bcbf19 (diff) | |
download | jquery-ui-fc6e72bf7399ecde5f15de88fd750a9a49b55b77.tar.gz jquery-ui-fc6e72bf7399ecde5f15de88fd750a9a49b55b77.zip |
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
(cherry picked from commit 4ade13450e7145100dcce3356eb1449e1a5f7090)
Conflicts:
ui/jquery.ui.datepicker.js
-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 16ce463fb..4ba9857ef 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -800,10 +800,8 @@ $.extend(Datepicker.prototype, { if (this._datepickerShowing) { var showAnim = this._get(inst, 'showAnim'); var duration = this._get(inst, 'duration'); - var self = this; var postProcess = function() { $.datepicker._tidyDialog(inst); - self._curInst = null; }; if ($.effects && $.effects[showAnim]) inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess); |