Skip to main content

Search and Top Navigation

#8667 closed bug (notabug)

Opened October 12, 2012 06:40PM UTC

Closed October 13, 2012 12:30AM UTC

datebox onSelect does not function correctly for dialog

Reported by: kwhat Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.datepicker Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

The comment reads: "the function to call when a date is selected"-> https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js#L300

Unfortunately the function is actually called when the dialog is presented. Please fix the functionality (preferably) or the description.

See http://jsbin.com/welcome/33835/edit for an example.

On a side note, it would be really nice if you could specify the x,y location of the dialog without having to spawn a dialog.

Attachments (0)
Change History (1)

Changed October 13, 2012 12:30AM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

You need to learn about how JavaScript functions are passed around and when they're executed: http://jsbin.com/welcome/33980/edit Please use the forums or StackOverflow for help.