aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-confirmation.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal-confirmation.html')
-rw-r--r--demos/dialog/modal-confirmation.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/dialog/modal-confirmation.html b/demos/dialog/modal-confirmation.html
index a5f6a1b26..b8c9a7115 100644
--- a/demos/dialog/modal-confirmation.html
+++ b/demos/dialog/modal-confirmation.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-confirm").dialog({
stackfix: true,
resizable: false,
height:140,
@@ -37,7 +40,7 @@
<div class="demo">
-<div id="dialog" title="Empty the recycle bin?">
+<div id="dialog-confirm" title="Empty the recycle bin?">
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
</div>