Skip to main content

Search and Top Navigation

#5038 closed bug (worksforme)

Opened January 04, 2010 09:37PM UTC

Closed January 05, 2010 03:45AM UTC

Last modified October 11, 2012 09:15PM UTC

dialog close event not captured if specified in options

Reported by: lsiden Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.7.2
Keywords: dialog close event handler Cc:
Blocked by: Blocking:
Description

Hi. This ticket may be related to #3837 which has been closed. I am entering a new one because #3837 related to version 1.5.2 and I have 1.7.2 now.

When I specify a 'close' event handler in the $.(...).dialog() initializer, it is never called. I tried this in both FF 3.5.6 and Google Chrome 4.0.249.43, and Opera 10.10. I don't have IE on any of my boxes, so I wasn't able to test it there.

On the other hand, if I specify a handler with the bind('dialogclose', <handler>) function, that handler does get called when the dialog closes, except on Opera 10.10.

You can see this in the file index.html (attached) lines 34 and 39, or you can download and run the entire site from your box if you want (it's 1.5M with all the jquery-ui supporting files): http://github.com/lsiden/locator_dialog/tree/3bacfeba06ea4e52c99b6d1f8181e49a89910838.

Attachments (1)
  • index.html (3.5 KB) - added by lsiden January 04, 2010 09:39PM UTC.

    The unsuccessful 'close' event handler is on line 33. The successful one is on line 39.

Change History (3)

Changed January 05, 2010 03:45AM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

The close option works. If you need help for your specific use case, please ask on the mailing list.

Changed January 05, 2010 03:45AM UTC by scottgonzalez comment:2

component: ui.coreui.dialog

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted