aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-11-21 13:32:30 -0800
committerScott González <scott.gonzalez@gmail.com>2011-11-21 13:32:30 -0800
commit24fc8d6827967019872b86945c4a26ebafd8de9d (patch)
tree5797f8324493298fc5ef8e4c1cc4e47299128c98 /ui
parentfdc332ed5fb7f7e688151d5cae9b450569d73da5 (diff)
parentc36b43d0ee3cf7e10d82d21e3a4ca6cb954f4c16 (diff)
downloadjquery-ui-24fc8d6827967019872b86945c4a26ebafd8de9d.tar.gz
jquery-ui-24fc8d6827967019872b86945c4a26ebafd8de9d.zip
Merge pull request #463 from jason-oster/master
Merge #463.
Diffstat (limited to 'ui')
-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