Opened 12 years ago

Closed 12 years ago

#3116 closed bug (fixed)

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.

Change History (2)

comment:1 Changed 12 years ago by paul

Component: ui.coreui.datepicker
Owner: changed from paul to grabanski

comment:2 Changed 12 years ago by kbwood

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.