Side navigation
#2676 closed bug (worksforme)
Opened April 10, 2008 05:34PM UTC
Closed April 18, 2008 02:51PM UTC
Last modified March 15, 2012 09:06AM 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: | 1.2.4 |
Component: | ui | 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.
I forgot to set this to UI component, and mention this is in ui 1.5b.
Bart