From fe593bc2c85ca5f65a1f92870c90e028332ea53e Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 19 Apr 2011 20:09:19 +0000 Subject: bug:2268 combine_script - sometimes precedent scripts were not being loaded before ... in admin, the accordion is loaded in the header (admin pages have the same header combined script, but usually different bottom scripts) git-svn-id: http://piwigo.org/svn/branches/2.2@10504 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/admin.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/themes/default') 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} -- cgit v1.2.3