aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/dialog/modal-confirmation.html2
-rw-r--r--demos/dialog/modal-form.html2
-rw-r--r--demos/dialog/modal-message.html2
-rw-r--r--demos/dialog/modal.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/demos/dialog/modal-confirmation.html b/demos/dialog/modal-confirmation.html
index 77aa15931..bed319a95 100644
--- a/demos/dialog/modal-confirmation.html
+++ b/demos/dialog/modal-confirmation.html
@@ -17,7 +17,7 @@
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
- $( "#dialog" ).dialog( "destroy" );
+ $( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-confirm" ).dialog({
resizable: false,
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html
index 291cad37b..b008a8cf9 100644
--- a/demos/dialog/modal-form.html
+++ b/demos/dialog/modal-form.html
@@ -31,7 +31,7 @@
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
- $( "#dialog" ).dialog( "destroy" );
+ $( "#dialog:ui-dialog" ).dialog( "destroy" );
var name = $( "#name" ),
email = $( "#email" ),
diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html
index 985f2aba0..18e84e87d 100644
--- a/demos/dialog/modal-message.html
+++ b/demos/dialog/modal-message.html
@@ -18,7 +18,7 @@
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
- $( "#dialog" ).dialog( "destroy" );
+ $( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-message" ).dialog({
modal: true,
diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html
index 832d66f6a..1664bd1a6 100644
--- a/demos/dialog/modal.html
+++ b/demos/dialog/modal.html
@@ -17,7 +17,7 @@
<script>
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
- $( "#dialog" ).dialog( "destroy" );
+ $( "#dialog:ui-dialog" ).dialog( "destroy" );
$( "#dialog-modal" ).dialog({
height: 140,