Skip to content
Permalink
Browse files

Dialog demos: safer selectors for the demo system workaround.

  • Loading branch information
scottgonzalez committed Sep 27, 2010
1 parent 9d88b56 commit 2dd676e18a8d230513c4d66fce79f1b0072f89e6
@@ -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,
@@ -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" ),
@@ -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,
@@ -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,

0 comments on commit 2dd676e

Please sign in to comment.
You can’t perform that action at this time.