Skip to main content

Search and Top Navigation

#3266 closed bug (fixed)

Opened August 29, 2008 07:27PM UTC

Closed September 20, 2008 06:28AM UTC

Last modified October 11, 2012 09:15PM UTC

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

Reported by: magenest@gmail.com Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

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);

this._updateAlternate(inst);

}

},

Attachments (0)
Change History (2)

Changed September 20, 2008 06:28AM UTC by kbwood comment:1

resolution: → fixed
status: newclosed

Fixed. _updateDatepicker only updates display if already showing.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted