aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include/autosize.inc.tpl
blob: 08fbe66ad584dfb7c828883e31dcd418043ee37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{* $Id$ *}
{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}

{* Auto size and auto grow textarea *}
{literal}
<script type="text/javascript">
  jQuery().ready(function(){
    // Auto size and auto grow for all text area
    jQuery("TEXTAREA").growfield({
      animate: false
    });
  });
</script>
{/literal}