Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#3266 closed bug (fixed)

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

Reported by: magenest@… 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 7 years ago by kbwood

  • Resolution set to fixed
  • Status changed from new to closed

Fixed. _updateDatepicker only updates display if already showing.

comment:2 Changed 3 years ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.