mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-29 14:31:59 +02:00
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives) git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
|
||||
{known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.autogrow-textarea.js"}
|
||||
|
||||
{* Auto size and auto grow textarea *}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
jQuery().ready(function(){
|
||||
jQuery('textarea').css('overflow-y', 'hidden');
|
||||
// Auto size and auto grow for all text area
|
||||
jQuery('textarea').autogrow();
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
Reference in New Issue
Block a user