aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/all.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/all.html')
-rw-r--r--tests/visual/all.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/visual/all.html b/tests/visual/all.html
index 088477278..f4f9a6ec7 100644
--- a/tests/visual/all.html
+++ b/tests/visual/all.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 @@
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">