diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-15 22:29:24 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-26 10:28:21 +0100 |
commit | 83a9f219bf40ff834d660020bbfa7de550e48a0c (patch) | |
tree | a89cfc16f3fbe82f82b429acb71cb4edf85706d8 /demos/dialog/modal-form.html | |
parent | 0848040d3ee041e443e2492c18a5a69c78ab9c12 (diff) | |
download | jquery-ui-83a9f219bf40ff834d660020bbfa7de550e48a0c.tar.gz jquery-ui-83a9f219bf40ff834d660020bbfa7de550e48a0c.zip |
Dialog: Use button widget for close button (was already listed as dependency)
Diffstat (limited to 'demos/dialog/modal-form.html')
-rw-r--r-- | demos/dialog/modal-form.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html index a779494a4..b1d4e52cc 100644 --- a/demos/dialog/modal-form.html +++ b/demos/dialog/modal-form.html @@ -12,6 +12,7 @@ <script src="../../ui/jquery.ui.draggable.js"></script> <script src="../../ui/jquery.ui.position.js"></script> <script src="../../ui/jquery.ui.resizable.js"></script> + <script src="../../ui/jquery.ui.button.js"></script> <script src="../../ui/jquery.ui.dialog.js"></script> <script src="../../ui/jquery.ui.effect.js"></script> <link rel="stylesheet" href="../demos.css"> @@ -86,10 +87,10 @@ if ( bValid ) { $( "#users tbody" ).append( "<tr>" + - "<td>" + name.val() + "</td>" + - "<td>" + email.val() + "</td>" + + "<td>" + name.val() + "</td>" + + "<td>" + email.val() + "</td>" + "<td>" + password.val() + "</td>" + - "</tr>" ); + "</tr>" ); $( this ).dialog( "close" ); } }, |