Modify ↓
Ticket #7149 (closed bug: duplicate)
Problem with jquery-ui dialog
| Reported by: | rodryquintero | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.3 |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | jqueryui dialog | Cc: | |
| Blocking: | Blocked by: |
Description
I have the following code for a jquery dialog:
$("#dia-login-error").dialog(
{
autoOpen: false, modal: true, resizable: false, buttons: { "OK": function() { $(this).dialog("close"); }}
});
and this gives me the following error using 1.4.3RC:
h is null
When I comment out the dialog declaration the error disssapears.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Recreated the above test case here: http://jsfiddle.net/addyosmani/myTAy/2/
Using jQuery 1.4.2 the UI components are working fine but switching over to the 1.4.3 RC is causing some breakage. I'm not seeing the exact same errors as originally submitted (instead d.ui.plugin is undefined / dialog is not a function).
Confirming this is an issue across FF, Opera and Webkit browsers. Have yet to test with IE.