aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal-message.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-message.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-message.html')
-rw-r--r--demos/dialog/modal-message.html2
1 files changed, 1 insertions, 1 deletions
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,