Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#3266 closed bug (fixed)

Datepicker is displayed when using "setDate" and "change" method

Reported by: [email protected] Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


To fix this problem, do not call _updateDatepicker() in _setDateDatepicker() and _changeDatepicker():

_changeDatepicker: function(target, name, value) {

var settings = name

if (typeof name == 'string') {

settings = {}; settings[name] = value;

} if (inst = $.data(target, PROP_NAME)) {

extendRemove(inst.settings, settings);

to remove===> this._updateDatepicker(inst);



_setDateDatepicker: function(target, date, endDate) {

var inst = $.data(target, PROP_NAME); if (inst) {

this._setDate(inst, date, endDate);

to remove===> this._updateDatepicker(inst);




Change History (2)

comment:1 Changed 15 years ago by kbwood

Resolution: fixed
Status: newclosed

Fixed. _updateDatepicker only updates display if already showing.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.