aboutsummaryrefslogtreecommitdiffstats
path: root/tests/all_2.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/all_2.html')
-rw-r--r--tests/all_2.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/all_2.html b/tests/all_2.html
index efaf4c706..5a55a324c 100644
--- a/tests/all_2.html
+++ b/tests/all_2.html
@@ -8,9 +8,9 @@
<script type="text/javascript" src="../ui/ui.core.js"></script>
<script type="text/javascript">
- var components = ["accordion","datepicker","dialog","draggable","progressbar","resizable","selectable","slider","sortable","spinner"];
+ var components = ["accordion","datepicker","dialog","draggable","progressbar","resizable","selectable","slider","sortable","spinner","tabs"];
- $(document).ready(function(){
+ $(function() {
var $list = $("#individual_list"),
$main = $("#main");
@@ -18,7 +18,7 @@
$.each(components, function(i, val){
$list.append('<li><a href="' + val + '.html">' + val + '</a></li>');
$('<div class="component_panel" id="' + val + '">').appendTo($main);
- $('div#'+val).load(val + '.html #main *');
+ $('#' + val).load(val + '.html #main *');
});
loadScripts();
@@ -26,10 +26,10 @@
function loadScripts() {
if ( $("div.component_panel").length == components.length ) {
$.each(components, function(i, val){
- $('head').append('<script type="text/javascript" src="'+val+'.js"></scr'+'pit>');
+ $('head').append('<script type="text/javascript" src="' + val + '.js"></scr'+'ipt>');
});
} else {
- setTimeout( function (){ loadScripts(); } ,10);
+ setTimeout(loadScripts, 10);
}
}
@@ -54,10 +54,13 @@
<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>
+ <script type="text/javascript" src="plugins/cookie/jquery.cookie.js"></script>
<style type="text/css">
@import "../themes/flora/flora.datepicker.css";
- .xerror, .error { display: none }
+ .xerror, .error, .ui-tabs-hide {
+ display: none;
+ }
</style>
</head>
@@ -72,7 +75,7 @@
<ol id="tests"></ol>
- <div id="main" style="position:absolute;top:-2000000px;">
+ <div id="main" style="position:absolute; top:-2000000px;">
</div>