Search and Top Navigation
#3837 closed bug (fixed)
Opened January 15, 2009 10:47PM UTC
Closed January 16, 2009 12:25AM UTC
dialog open/close callbacks are not called
Reported by: | bmoen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.7 |
Component: | ui.dialog | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The open and close callback functions are not being called when the dialog is opened or closed.
Occurs in both jquery ui 1.5.3 and 1.6rc4.
Using jQuery v1.2.6, this occurs in IE6 but works fine in Firefox 3.
Using the new jQuery v1.3 it also breaks in Firefox.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled</title> <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript" src="jquery-ui-1.5.3.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#dialog").dialog({ open: function(event, data) { $("#dialog p").text("I'm open"); }, close: function(event, data) { $("#dialog p").text("I'm closed"); } }); }); </script> </head> <body> <div id="dialog"><p>Hello World</p></div> </body> </html>
Attachments (0)
Change History (1)
Changed January 16, 2009 12:25AM UTC by comment:1
milestone: | TBD → 1.6 |
---|---|
resolution: | → fixed |
status: | new → closed |
No currently released versions of UI are compatible with 1.3. Please use current SVN or 1.6rc5 (scheduled for release tonight) with 1.3.