aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/admin.tpl1
-rw-r--r--include/template.class.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
index 4fe561cdd..2daad8118 100644
--- a/admin/themes/default/template/admin.tpl
+++ b/admin/themes/default/template/admin.tpl
@@ -1,3 +1,4 @@
+{combine_script id='jquery.ui.accordion' load='header'}{*we load in the header because the accordion is on every admin page and usually all admin pages use the same header combined script but not the same footer script*}
{footer_script require='jquery.ui.accordion'}
jQuery(document).ready(function(){ldelim}
jQuery('#menubar').accordion({ldelim}
diff --git a/include/template.class.php b/include/template.class.php
index 1536e8f7a..857314906 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -1101,8 +1101,8 @@ class ScriptLoader
foreach( $scripts as $id => $script)
{
$load = $script->load_mode;
- if ($load==0)
- continue;
+ /*if ($load==0)
+ continue;*/
foreach( $script->precedents as $precedent)
{
if ( !isset($scripts[$precedent] ) )