Changeset 10504


Ignore:
Timestamp:
04/19/11 22:09:19 (8 years ago)
Author:
rvelices
Message:

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)

Location:
branches/2.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/themes/default/template/admin.tpl

    r9586 r10504  
     1{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*} 
    12{footer_script require='jquery.ui.accordion'} 
    23jQuery(document).ready(function(){ldelim} 
  • branches/2.2/include/template.class.php

    r9606 r10504  
    11021102      { 
    11031103        $load = $script->load_mode; 
    1104         if ($load==0) 
    1105           continue; 
     1104        /*if ($load==0) 
     1105          continue;*/ 
    11061106        foreach( $script->precedents as $precedent) 
    11071107        { 
Note: See TracChangeset for help on using the changeset viewer.