diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-04-09 18:39:47 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-04-12 16:46:54 +0300 |
commit | 316efcbbbb72058bb9986be08af3d11173817386 (patch) | |
tree | 1cba565cbff42b48ad372cf3f3e266284ce133eb /phpBB/adm | |
parent | 88072fd6c2c3ec6cc6d2a880bd76a9c601fd0767 (diff) | |
download | forums-316efcbbbb72058bb9986be08af3d11173817386.tar forums-316efcbbbb72058bb9986be08af3d11173817386.tar.gz forums-316efcbbbb72058bb9986be08af3d11173817386.tar.bz2 forums-316efcbbbb72058bb9986be08af3d11173817386.tar.xz forums-316efcbbbb72058bb9986be08af3d11173817386.zip |
[ticket/10741] Automatically resize textareas in prosilver and ACP
Automatically resize textareas in prosilver and ACP.
PHPBB3-10741
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/style/ajax.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js index 8f7c210e00..8211bdd014 100644 --- a/phpBB/adm/style/ajax.js +++ b/phpBB/adm/style/ajax.js @@ -148,6 +148,12 @@ $('[data-ajax]').each(function() { } }); +/** +* Automatically resize textarea +*/ +$(document).ready(function() { + phpbb.resizeTextArea($('textarea'), {minHeight: 75}); +}); })(jQuery); // Avoid conflicts with other libraries |