aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto')
-rw-r--r--admin/template/goto/double_select.tpl19
-rw-r--r--admin/template/goto/footer.tpl8
-rw-r--r--admin/template/goto/header.tpl1
3 files changed, 6 insertions, 22 deletions
diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl
index 43414505c..aeed8500a 100644
--- a/admin/template/goto/double_select.tpl
+++ b/admin/template/goto/double_select.tpl
@@ -18,22 +18,3 @@
</td>
</tr>
</table>
-
-{literal}
-<script type="text/javascript">
-jQuery().ready(function(){
- jQuery(".doubleSelect SELECT.categoryList").resizable({
- handles: "w,e",
- knobHandles: false,
- animate: true,
- animateDuration: "slow",
- animateEasing: "swing",
- preventDefault: true,
- preserveCursor: true,
- autoHide: true,
- ghost: true
-
- });
-});
-</script>
-{/literal} \ No newline at end of file
diff --git a/admin/template/goto/footer.tpl b/admin/template/goto/footer.tpl
index 8e62319ed..0bee2b989 100644
--- a/admin/template/goto/footer.tpl
+++ b/admin/template/goto/footer.tpl
@@ -39,10 +39,12 @@
<!-- Begin of JS -->
{literal}
<script type="text/javascript">
- // All admin textarea are resizable
jQuery().ready(function(){
- jQuery("TEXTAREA, .categoryList").resizable({
- handles: "all",
+ // Auto size for all text area
+ jQuery("TEXTAREA").growfield();
+ // All admin categoryList are resizable
+ jQuery(".doubleSelect, .categoryList").resizable({
+ knobHandles: false,
animate: true,
animateDuration: "slow",
animateEasing: "swing",
diff --git a/admin/template/goto/header.tpl b/admin/template/goto/header.tpl
index 288be3ec8..3e8d90a45 100644
--- a/admin/template/goto/header.tpl
+++ b/admin/template/goto/header.tpl
@@ -25,6 +25,7 @@
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
+{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/growfield/jquery.growfield.js"}
{$themeconf.local_head}
<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
<!--[if lt IE 7]>