aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorDan Wellman <danwellman@hotmail.com>2011-11-28 08:38:34 +0000
committerDan Wellman <danwellman@hotmail.com>2011-11-28 08:38:34 +0000
commita4fd5449b24b998ffa514f01b735da2b6465a80a (patch)
tree51b1c2828e85f538775e22cf5e3a930a8c4fe506 /ui/jquery.ui.datepicker.js
parentfce4725a8ac599efab5449710550a029a2d6fbe3 (diff)
parent53ea93327e9040b7472e8fd2af2abaea19058e4a (diff)
downloadjquery-ui-a4fd5449b24b998ffa514f01b735da2b6465a80a.tar.gz
jquery-ui-a4fd5449b24b998ffa514f01b735da2b6465a80a.zip
Merge remote-tracking branch 'upstream/selectmenu' 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