aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-message.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal-message.html')
-rw-r--r--demos/dialog/modal-message.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html
index 24db34239..ca826b191 100644
--- a/demos/dialog/modal-message.html
+++ b/demos/dialog/modal-message.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-message").dialog({
stackfix: true,
modal: true,
buttons: {
@@ -28,7 +31,7 @@
<div class="demo">
-<div id="dialog" title="Download complete">
+<div id="dialog-message" title="Download complete">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
Your files have downloaded successfully into the My Downloads folder.