aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/cat_modify.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-09-27 21:00:12 +0000
committerpatdenice <patdenice@piwigo.org>2008-09-27 21:00:12 +0000
commitd61c255341c0b9c94357ad4e007e138d3a408dff (patch)
tree3526b18ac5c636b90ca27677b0afd1850ce7d4bc /admin/template/goto/cat_modify.tpl
parent781eb636fc950175861f80ca031792d2ac81f321 (diff)
Put resizable and growfield scripts on each page where is needed.
git-svn-id: http://piwigo.org/svn/trunk@2614 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/cat_modify.tpl')
-rw-r--r--admin/template/goto/cat_modify.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl
index eb3d67765..de7e9d6a9 100644
--- a/admin/template/goto/cat_modify.tpl
+++ b/admin/template/goto/cat_modify.tpl
@@ -1,4 +1,14 @@
{* $Id$ *}
+{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
+
+<script type="text/javascript">
+ jQuery().ready(function(){ldelim}
+ jQuery("textarea").growfield({ldelim}
+ animate: false
+ });
+ });
+</script>
+
<div class="titrePage">
<h2>{'title_edit_cat'|@translate}</h2>
</div>