diff options
Diffstat (limited to 'demos/dialog/modal.html')
-rw-r--r-- | demos/dialog/modal.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html index 297b77a63..8716e7310 100644 --- a/demos/dialog/modal.html +++ b/demos/dialog/modal.html @@ -12,7 +12,10 @@ <link type="text/css" href="../demos.css" rel="stylesheet" /> <script type="text/javascript"> $(function() { - $("#dialog").dialog({ + // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! + $("#dialog").dialog("destroy"); + + $("#dialog-modal").dialog({ stackfix: true, height: 140, modal: true @@ -25,7 +28,7 @@ <div class="demo"> -<div id="dialog" title="Basic modal dialog"> +<div id="dialog-modal" title="Basic modal dialog"> <p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p> </div> |