summaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-form.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-27 11:31:55 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-27 11:31:55 -0400
commit2dd676e18a8d230513c4d66fce79f1b0072f89e6 (patch)
tree7d93be4cc2a0b9621c278d5d5c3190366062a855 /demos/dialog/modal-form.html
parent9d88b565d6f65dc1aaebfaf99699f6155370949c (diff)
downloadjquery-ui-2dd676e18a8d230513c4d66fce79f1b0072f89e6.tar.gz
jquery-ui-2dd676e18a8d230513c4d66fce79f1b0072f89e6.zip
Dialog demos: safer selectors for the demo system workaround.
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" ),