mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Don't set _curInst in hideDatepicker. Fixes #8174 - jQuery datepicker is stuck open if label is clicked from open state.
This commit is contained in:
parent
e0616aaf74
commit
4ade13450e
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user