Ignore:
Timestamp:
12/09/10 15:10:07 (9 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix warning on jquery


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/template/autosize.tpl

    r7962 r8057  
    44    {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 
    55    {known_script id="dimensions" src=$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"}  
    6  
    7  
    86 <script type="text/javascript"> 
    9     var visible = '{$visible}'; 
    107    var fade_in = '{$fade_in}'; 
    118    var cl_visible = "{$cl_visible}" =="true"; 
     
    5350 <!--  << autosize/template/autosize.tpl   -->  
    5451{/html_head}   
    55  
    56  
     52<script type="text/javascript"> 
     53    var DEBUG = '{$DEBUG}'; 
     54    var visible = '{$visible}'; 
     55   </script> 
    5756{if $DEBUG == "true"} 
    5857  {assign var="visible" value="block"} 
     
    9695    {/literal} 
    9796    {else} 
    98   {assign var="visible" value="none"} {/if}<!--  << autosize/template/autosize.tpl body  --> 
     97  {assign var="visible" value="none"} {/if} 
     98   
     99  <!--  << autosize/template/autosize.tpl body  --> 
Note: See TracChangeset for help on using the changeset viewer.