Skip to content
Permalink
Browse files

Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuer…

…y datepicker is stuck open if label is clicked from open state.
  • Loading branch information
scottgonzalez committed Apr 3, 2012
1 parent e0616aa commit 4ade13450e7145100dcce3356eb1449e1a5f7090
Showing with 0 additions and 2 deletions.
  1. +0 −2 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

0 comments on commit 4ade134

Please sign in to comment.
You can’t perform that action at this time.