aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto/include')
-rw-r--r--admin/template/goto/include/autosize.inc.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/template/goto/include/autosize.inc.tpl b/admin/template/goto/include/autosize.inc.tpl
new file mode 100644
index 000000000..08fbe66ad
--- /dev/null
+++ b/admin/template/goto/include/autosize.inc.tpl
@@ -0,0 +1,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}