aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/template/goto/double_select.tpl20
-rw-r--r--admin/template/goto/footer.tpl11
2 files changed, 20 insertions, 11 deletions
diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl
index aeed8500a..8dc7bfc66 100644
--- a/admin/template/goto/double_select.tpl
+++ b/admin/template/goto/double_select.tpl
@@ -1,4 +1,7 @@
{* $Id$ *}
+{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"}
+
<table class="doubleSelect">
<tr>
<td>
@@ -18,3 +21,20 @@
</td>
</tr>
</table>
+
+{literal}
+<script type="text/javascript">
+ jQuery().ready(function(){
+ jQuery(".doubleSelect select.categoryList").resizable({
+ handles: "w,e",
+ 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 0bee2b989..29691b701 100644
--- a/admin/template/goto/footer.tpl
+++ b/admin/template/goto/footer.tpl
@@ -42,17 +42,6 @@
jQuery().ready(function(){
// 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",
- preventDefault: true,
- preserveCursor: true,
- autoHide: true,
- ghost: true
- });
});
</script>
{/literal}