Ticket #3266 (closed bug: fixed)

Opened 7 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:


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

comment:1 Changed 7 years ago by kbwood

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

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.