Skip to content
Permalink
Browse files

workaround for #4375

  • Loading branch information
jzaefferer committed Jul 11, 2009
1 parent a716261 commit 169d2ad30ff00616f5ffbb4f889235d8a4153576
@@ -12,7 +12,10 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$("#dialog").dialog("destroy");

$("#dialog-confirm").dialog({
stackfix: true,
resizable: false,
height:140,
@@ -37,7 +40,7 @@

<div class="demo">

<div id="dialog" title="Empty the recycle bin?">
<div id="dialog-confirm" title="Empty the recycle bin?">
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
</div>

@@ -28,6 +28,8 @@
</style>
<script type="text/javascript">
$(function() {
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$("#dialog").dialog("destroy");

var name = $("#name"),
email = $("#email"),
@@ -63,7 +65,7 @@

}

$("#dialog").dialog({
$("#dialog-form").dialog({
stackfix: true,
autoOpen: false,
height: 300,
@@ -103,7 +105,7 @@


$('#create-user').click(function() {
$('#dialog').dialog('open');
$('#dialog-form').dialog('open');
})
.hover(
function() {
@@ -133,7 +135,7 @@

<div class="demo">

<div id="dialog" title="Create new user">
<div id="dialog-form" title="Create new user">
<p id="validateTips">All form fields are required.</p>

<form>
@@ -12,7 +12,10 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$("#dialog").dialog("destroy");

$("#dialog-message").dialog({
stackfix: true,
modal: true,
buttons: {
@@ -28,7 +31,7 @@

<div class="demo">

<div id="dialog" title="Download complete">
<div id="dialog-message" title="Download complete">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
Your files have downloaded successfully into the My Downloads folder.
@@ -12,7 +12,10 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
$("#dialog").dialog("destroy");

$("#dialog-modal").dialog({
stackfix: true,
height: 140,
modal: true
@@ -25,7 +28,7 @@

<div class="demo">

<div id="dialog" title="Basic modal dialog">
<div id="dialog-modal" title="Basic modal dialog">
<p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
</div>

0 comments on commit 169d2ad

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