Search and Top Navigation
#2676 closed bug (worksforme)
Opened April 10, 2008 05:34PM UTC
Closed April 18, 2008 02:51PM UTC
Last modified May 24, 2008 03:39AM UTC
Error on window close after showing ui dialog: "jquery.event.special[...].teardown is null or not an object"
Reported by: | bart.waggoner | Owned by: | scottgonzalez |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.core | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
After showing a jquery ui dialog, i get the following javascript error from IE 7 when I navigate to a new page:
"jquery.event.special[...].teardown is null or not an object"
This is how the dialog is created and closed:
$("#sqlDlg").dialog({
title: "SQL Expression",
buttons: {
"OK": sqlDoOk,
"Cancel": sqlDoCancel
},
height: 225,
width: 530
});
$("#sqlDlg").show();
function sqlDoOk()
{
$("#sqlDlg").dialog('close');
}
function sqlDoCancel()
{
$("#sqlDlg").dialog('close');
}
I tried using .dialog('destroy') but that created an all new JavaScript error.
Attachments (0)
Change History (5)
Changed April 10, 2008 05:38PM UTC by comment:1
Changed April 11, 2008 06:32AM UTC by comment:2
component: | core → ui |
---|---|
owner: | → paul |
Changed April 16, 2008 08:31AM UTC by comment:3
owner: | paul → scott.gonzalez |
---|
Changed April 18, 2008 02:51PM UTC by comment:4
resolution: | → worksforme |
---|---|
status: | new → closed |
I have a feeling you're modifying the Object prototype (based on #2675), which will break jQuery.
Changed May 24, 2008 03:39AM UTC by comment:5
milestone: | 1.2.4 |
---|
Milestone 1.2.4 deleted
I forgot to set this to UI component, and mention this is in ui 1.5b.
Bart