Skip to content

Commit fc6e72b

Browse files
committed
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 4ade134) Conflicts: ui/jquery.ui.datepicker.js
1 parent 97d9628 commit fc6e72b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ui/jquery.ui.datepicker.js

-2
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,8 @@ $.extend(Datepicker.prototype, {
800800
if (this._datepickerShowing) {
801801
var showAnim = this._get(inst, 'showAnim');
802802
var duration = this._get(inst, 'duration');
803-
var self = this;
804803
var postProcess = function() {
805804
$.datepicker._tidyDialog(inst);
806-
self._curInst = null;
807805
};
808806
if ($.effects && $.effects[showAnim])
809807
inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);

0 commit comments

Comments
 (0)