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/trunk@10503 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
9b0677ec33
commit
13f099f128
2 changed files with 3 additions and 2 deletions
|
|
@ -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] ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue