Restored in double_select.tpl: doubleSelect are jQuery resizable (based on a rub idea).

git-svn-id: http://piwigo.org/svn/trunk@2604 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2008-09-26 22:52:29 +00:00
parent adb799fc46
commit 1354e72c9a
2 changed files with 20 additions and 11 deletions

View file

@ -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}

View file

@ -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}