Opened 10 years ago

Closed 10 years ago

#8667 closed bug (notabug)

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.

Change History (1)

comment:1 Changed 10 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.