Skip to content
Permalink
Browse files

Dialog visual test:

- Made it possible to close and re-open the dialog.
- Added buttons.
  • Loading branch information
scottgonzalez committed Dec 19, 2008
1 parent cc22cc0 commit f00247f9c9d8bd9cf35d8315328726950dddff48
Showing with 9 additions and 2 deletions.
  1. +9 −2 tests/visual/dialog.html
@@ -11,9 +11,16 @@
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
var dlg = $("#dlg").remove();
var dlg = $("#dlg").dialog({
autoOpen: false,
width: 600,
buttons: {
Ok: function() {},
Cancel: function() {}
}
});
$("#dialog").click(function() {
dlg.appendTo('body').dialog({width: 600});
dlg.dialog('open');
});
});
</script>

0 comments on commit f00247f

Please sign in to comment.
You can’t perform that action at this time.