Ignore:
Timestamp:
Dec 4, 2010, 9:32:44 PM (13 years ago)
Author:
rvelices
Message:

trunk admin theme goes with combine_script instead of old style known_script

File:
1 edited

Legend:

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

    r5123 r7995  
    1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
    2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
    3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"}
    4 
    5 {* Resize possible *}
    6 {literal}
    7 <script type="text/javascript">
    8   jQuery().ready(function(){
    9     // Resize possible for double select list
    10     jQuery(".doubleSelect select.categoryList").resizable({
    11       handles: "w,e",
    12       animate: true,
    13       animateDuration: "slow",
    14       animateEasing: "swing",
    15       preventDefault: true,
    16       preserveCursor: true,
    17       autoHide: true,
    18       ghost: true
    19     });
    20   });
    21 </script>
    22 {/literal}
     1{combine_script id='jquery' load='async' path='themes/default/js/jquery.packed.js'}
     2{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/packed/ui.core.packed.js' }
     3{combine_script id='jquery.ui.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/packed/ui.resizable.packed.js' }
     4{footer_script require='jquery.ui.resizable'}{literal}
     5jQuery(document).ready(function(){
     6        // Resize possible for double select list
     7        jQuery(".doubleSelect select.categoryList").resizable({
     8                handles: "w,e",
     9                animate: true,
     10                animateDuration: "slow",
     11                animateEasing: "swing",
     12                preventDefault: true,
     13                preserveCursor: true,
     14                autoHide: true,
     15                ghost: true
     16        });
     17});
     18{/literal}{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.