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