Opened 12 years ago

Closed 12 years ago

#7087 closed bug (worksforme)

Page freezes in IE9 RC when attempting to reopen a previously closed dialog window

Reported by: lindacm Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by rdworth)

When a dialog window which contains a link is opened and closed, it cannot be reopened in IE9 RC. Instead the screen freezes. The browser will not crash, but it will not draw any new changes to the page.

The problem is difficult to reproduce on jsbin, because additional javascript is included automatically, and seems to 'resolve' the problem. However if you load the following code in a new page, you should be able to duplicate it:

<html lang="en-US">
<script type="text/javascript" src="//"></script> 
<script type="text/javascript" src="//"></script> 
<link type="text/css" rel="stylesheet" href="//"> 

<script type="text/javascript">
		if ( !$("#dialogWindow").length ) {
			$("body").append("<div id='dialogWindow' title='Dialog Window'></div>");
			$("#dialogWindow").html( $("#dialogContent").html() ).dialog();
		} else {
			$("#dialogWindow").dialog( "open" );
		return false;

<p><a href="javascript:void(0);" class="openDialog">open dialog window</a></p>
<div id="dialogContent"><a href="javascript:void(0);">link</a></div>


Change History (3)

comment:1 Changed 12 years ago by rdworth

Component: ui.coreui.dialog

comment:2 Changed 12 years ago by rdworth

Description: modified (diff)

comment:3 Changed 12 years ago by Scott González

Resolution: worksforme
Status: newclosed

Using your exact code, this works fine for me in IE 9.0.8080.16413 (RC) on Windows 7.

Note: See TracTickets for help on using tickets.