Skip to main content

Search and Top Navigation

#4804 closed bug (fixed)

Opened August 26, 2009 03:48PM UTC

Closed January 10, 2010 04:54AM UTC

onChangeMonthYear fires at first run

Reported by: ivanko Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

When datepicker is used as inline component and function for onchangemonthyear is defined then at first run (when no event supplied) this function is executed with current day parameters. This leads to cycle when function defined like this

function onChangeMonthYearExample (y,m,i) {

document.location = "?dt=" + y + "." + m + ".01";

}

Attachments (0)
Change History (2)

Changed November 16, 2009 03:47PM UTC by jzaefferer comment:1

milestone: TBD1.8

Doesn't make sense that a change callback is called on init.

Changed January 10, 2010 04:54AM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

Fixed in r3639.