diff options
Diffstat (limited to 'demos/dialog/modal-form.html')
-rw-r--r-- | demos/dialog/modal-form.html | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html index d1b7ccfa6..4cfdd6fe0 100644 --- a/demos/dialog/modal-form.html +++ b/demos/dialog/modal-form.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -30,9 +30,6 @@ </style> <script> $(function() { - // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $( "#dialog:ui-dialog" ).dialog( "destroy" ); - var name = $( "#name" ), email = $( "#email" ), password = $( "#password" ), @@ -68,7 +65,7 @@ return true; } } - + $( "#dialog-form" ).dialog({ autoOpen: false, height: 300, @@ -116,8 +113,6 @@ </head> <body> -<div class="demo"> - <div id="dialog-form" title="Create new user"> <p class="validateTips">All form fields are required.</p> @@ -155,13 +150,8 @@ </div> <button id="create-user">Create new user</button> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |