Skip to main content

Search and Top Navigation

#3116 closed bug (fixed)

Opened July 19, 2008 01:30AM UTC

Closed August 02, 2008 10:57AM UTC

datepicker incorrectly handling change of rangeSelect

Reported by: anonymous Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

if i have some code like the following to change the settings of an inline datepicker after its initial load:

$("#inline").datepicker("change",{rangeSelect:false}

this will cause the datepicker to incorrectly continue to highlight the dates as if it were still a range when a user clicks on a date.

also, if rangeSelect is true, and the user has clicked the "begin date" for the range, and the the above code is executed on the datepicker, it should re-enable all the dates for clicking.

Attachments (0)
Change History (2)

Changed July 25, 2008 03:06AM UTC by paul comment:1

component: ui.coreui.datepicker
owner: paulgrabanski

Changed August 02, 2008 10:57AM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

Fixed. Datepicker now reinitialises all internal settings on change of options.