Merge pull request #463 from jason-oster/master

Merge #463.
This commit is contained in:
Scott González 2011-11-21 13:32:30 -08:00
commit 24fc8d6827

View File

@ -799,9 +799,10 @@ $.extend(Datepicker.prototype, {
if (this._datepickerShowing) { if (this._datepickerShowing) {
var showAnim = this._get(inst, 'showAnim'); var showAnim = this._get(inst, 'showAnim');
var duration = this._get(inst, 'duration'); var duration = this._get(inst, 'duration');
var self = this;
var postProcess = function() { var postProcess = function() {
$.datepicker._tidyDialog(inst); $.datepicker._tidyDialog(inst);
this._curInst = null; self._curInst = null;
}; };
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed