aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/double_select.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/double_select.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 '')
-rw-r--r--admin/template/goto/double_select.tpl32
1 files changed, 15 insertions, 17 deletions
diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl
index 95363def8..62930aeb1 100644
--- a/admin/template/goto/double_select.tpl
+++ b/admin/template/goto/double_select.tpl
@@ -2,6 +2,21 @@
{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"}
+<script type="text/javascript">
+ jQuery().ready(function(){ldelim}
+ jQuery(".doubleSelect select.categoryList").resizable({ldelim}
+ handles: "w,e",
+ animate: true,
+ animateDuration: "slow",
+ animateEasing: "swing",
+ preventDefault: true,
+ preserveCursor: true,
+ autoHide: true,
+ ghost: true
+ });
+ });
+</script>
+
<table class="doubleSelect">
<tr>
<td>
@@ -21,20 +36,3 @@
</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