mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-24 19:37:58 -05:00
demos dialog modal-form2: changed link to button, removed autoOpen: false
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user