Skip to content
Permalink
Browse files

tests/visual/dialog: Added some content to the simple dialog test

  • Loading branch information
rdworth committed Dec 13, 2008
1 parent 6bdc9f7 commit 71528f7fc48422a55d54196ba0a31617d28578ce
Showing with 12 additions and 2 deletions.
  1. +7 −1 tests/visual/all.html
  2. +5 −1 tests/visual/dialog.html
@@ -21,7 +21,10 @@
$(function() {
$("#accordion").accordion();
$("#datepicker").datepicker();
$("#dialog").click(function() { $("<div></div>").dialog(); });
var dlg = $("#dlg").remove();
$("#dialog").click(function() {
dlg.appendTo('body').dialog();
});
$("#draggable").draggable();
$(".draggable").draggable();
$("#droppable").droppable({
@@ -75,6 +78,9 @@ <h3><a href="#">Test 3</a></h3>
Dialog
<div id="dialog">
<button>Open</button>
<div id="dlg" title="Dialog Title">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
</li>
<li class="plugin">
@@ -11,8 +11,9 @@
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
var dlg = $("#dlg").remove();
$("#dialog").click(function() {
$("<div></div>").dialog();
dlg.appendTo('body').dialog();
});
});
</script>
@@ -24,6 +25,9 @@
Dialog
<div id="dialog">
<button>Open</button>
<div id="dlg" title="Dialog Title">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
</li>
</ul>

0 comments on commit 71528f7

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