Ignore:
Timestamp:
Jun 26, 2014, 10:23:50 PM (10 years ago)
Author:
rvelices
Message:

moved around 100k of javascript from synchronous loading to async... (a lot more could be done...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/include/add_album.inc.tpl

    r28703 r28806  
    1 {include file='include/colorbox.inc.tpl'}
     1{if empty($load_mode)}{$load_mode='footer'}{/if}
     2{include file='include/colorbox.inc.tpl' load_mode=$load_mode}
    23
    34{assign var="selectizeTheme" value=($themeconf.name=='roma')|ternary:'dark':'default'}
     
    56{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.`$selectizeTheme`.css"}
    67
    7 {combine_script id='addAlbum.js' load='footer' require='jquery.colorbox' path='admin/themes/default/js/addAlbum.js'}
     8{combine_script id='addAlbum' load=$load_mode path='admin/themes/default/js/addAlbum.js'}
    89
    910<div style="display:none">
Note: See TracChangeset for help on using the changeset viewer.