diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-27 11:31:55 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-27 11:31:55 -0400 |
commit | 2dd676e18a8d230513c4d66fce79f1b0072f89e6 (patch) | |
tree | 7d93be4cc2a0b9621c278d5d5c3190366062a855 | |
parent | 9d88b565d6f65dc1aaebfaf99699f6155370949c (diff) | |
download | jquery-ui-2dd676e18a8d230513c4d66fce79f1b0072f89e6.tar.gz jquery-ui-2dd676e18a8d230513c4d66fce79f1b0072f89e6.zip |
Dialog demos: safer selectors for the demo system workaround.
-rw-r--r-- | demos/dialog/modal-confirmation.html | 2 | ||||
-rw-r--r-- | demos/dialog/modal-form.html | 2 | ||||
-rw-r--r-- | demos/dialog/modal-message.html | 2 | ||||
-rw-r--r-- | demos/dialog/modal.html | 2 |
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, |