aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-form.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal-form.html')
-rw-r--r--demos/dialog/modal-form.html2
1 files changed, 1 insertions, 1 deletions
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" ),