]> source.dussan.org Git - jquery-ui.git/commitdiff
demos dialog modal-form2: changed link to button, removed autoOpen: false
authorRichard Worth <rdworth@gmail.com>
Thu, 29 Jan 2009 20:13:00 +0000 (20:13 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 29 Jan 2009 20:13:00 +0000 (20:13 +0000)
demos/dialog/modal-form2.html

index 84d51161da56aa77b11082db4d7f2bf86f12fd90..9463747437c0f94aef45cea27f880c827f7880a8 100644 (file)
@@ -54,7 +54,6 @@
                }
                
                $("#dialog").dialog({
-                       autoOpen: false,
                        bgiframe: true,
                        height: 300,
                        modal: true,
@@ -93,6 +92,7 @@
                $('#create-user').click(function() {
                        $('#dialog').dialog('open');
                });
+
        });
        </script>
 </head>
        </form>
 </div>
 
-<a id="create-user" href="#">create new user</a>
+<button id="create-user">create new user</button>
 
 <table id="users">
        <thead>