aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorGarrison Locke <gplocke@gmail.com>2011-05-11 14:20:28 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-11 14:22:04 -0400
commita645630ebaf02febb19a5c9e28f1e46401f07ed0 (patch)
treee09472a247dc62d2b9ffc7ce7304da1eb4d0ffbe /ui/jquery.ui.datepicker.js
parent83424c6c334406d427d9eef8e4fe22fd9da0a37a (diff)
downloadjquery-ui-a645630ebaf02febb19a5c9e28f1e46401f07ed0.tar.gz
jquery-ui-a645630ebaf02febb19a5c9e28f1e46401f07ed0.zip
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
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 662b49f86..aec740aa5 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/ui/jquery.ui.datepicker.js
@@ -455,7 +455,8 @@ $.extend(Datepicker.prototype, {
inst.settings.maxDate = this._formatDate(inst, maxDate);
this._attachments($(target), inst);
this._autoSize(inst);
- this._setDateDatepicker(target, date);
+ this._setDate(inst, date);
+ this._updateAlternate(inst);
this._updateDatepicker(inst);
}
},