demos dialog modal-form2: changed link to button, removed autoOpen: false

This commit is contained in:
Richard Worth
2009-01-29 20:13:00 +00:00
parent 31a7ceb014
commit 4c9d906184

View 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>
@@ -115,7 +115,7 @@
</form>
</div>
<a id="create-user" href="#">create new user</a>
<button id="create-user">create new user</button>
<table id="users">
<thead>