]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firef...
authorGarrison Locke <gplocke@gmail.com>
Wed, 11 May 2011 18:20:28 +0000 (14:20 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 11 May 2011 18:22:59 +0000 (14:22 -0400)
(cherry picked from commit a645630ebaf02febb19a5c9e28f1e46401f07ed0)

ui/jquery.ui.datepicker.js

index 549b4926752101990d532eb845543205ab056662..3e98dd6f41eda77e51e931d569196abde9067735 100644 (file)
@@ -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);
                }
        },