Skip to content

Commit

Permalink
Datepicker: Removed duplicate call to _updateDatepicker when changing…
Browse files Browse the repository at this point in the history
… option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
  • Loading branch information
gplocke authored and scottgonzalez committed May 11, 2011
1 parent 83424c6 commit a645630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/jquery.ui.datepicker.js
Expand Up @@ -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);
}
},
Expand Down

1 comment on commit a645630

@scottgonzalez
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gplocke Can you please sign our CLA?

Please sign in to comment.