summaryrefslogtreecommitdiffstats
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:59 -0400
commit3edda96f2a65a5c9544eab2b736dcd8b84edd8db (patch)
tree459982ae8a3ea1f1ec3dd500341cdb525c570a3d
parent03ce9fb8cd3d81227dcaf878f8cea5540bbd868a (diff)
downloadjquery-ui-3edda96f2a65a5c9544eab2b736dcd8b84edd8db.tar.gz
jquery-ui-3edda96f2a65a5c9544eab2b736dcd8b84edd8db.zip
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
(cherry picked from commit a645630ebaf02febb19a5c9e28f1e46401f07ed0)
-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 549b49267..3e98dd6f4 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);
}
},