source: trunk/admin/themes/default/template/include/autosize.inc.tpl @ 12029

Last change on this file since 12029 was 9586, checked in by patdenice, 14 years ago

feature:2114
Simplify all admin templates.

  • Property svn:eol-style set to LF
File size: 411 bytes
Line 
1{combine_script id='jquery.autogrow' load='async' require='jquery' path='themes/default/js/plugins/jquery.autogrow-textarea.js'}
2{* Auto size and auto grow textarea *}
3{footer_script require='jquery.autogrow'}{literal}
4jQuery(document).ready(function(){
5        jQuery('textarea').css('overflow-y', 'hidden');
6        // Auto size and auto grow for all text area
7        jQuery('textarea').autogrow();
8});
9{/literal}{/footer_script}
Note: See TracBrowser for help on using the repository browser.