]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker...
authorScott González <scott.gonzalez@gmail.com>
Tue, 3 Apr 2012 19:37:56 +0000 (15:37 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 3 Apr 2012 19:37:56 +0000 (15:37 -0400)
(cherry picked from commit 4ade13450e7145100dcce3356eb1449e1a5f7090)

Conflicts:

ui/jquery.ui.datepicker.js

ui/jquery.ui.datepicker.js

index 16ce463fbace687d45c1c7b67a0745146b09e597..4ba9857effc04e55f8375ea4d5d5a52c1516e2b1 100644 (file)
@@ -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);