aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-11-24 11:25:24 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-11-24 11:25:24 +0100
commit9bd08798c27f849b85a75bcaca009df85a48545f (patch)
treefe70613527b58aba17a1f9760dcda6771fffe4f0 /ui/jquery.ui.datepicker.js
parentd97b6db2cdcc2adf88381c3d7a7d733ea51fab71 (diff)
parent74a3f2ce0897ce8bdcac2acc997e68e3e8603121 (diff)
downloadjquery-ui-9bd08798c27f849b85a75bcaca009df85a48545f.tar.gz
jquery-ui-9bd08798c27f849b85a75bcaca009df85a48545f.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r--ui/jquery.ui.datepicker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index e09dc5a50..45ddf8678 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -799,9 +799,10 @@ $.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);
- this._curInst = null;
+ self._curInst = null;
};
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed