mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/10741] Automatically resize textareas in prosilver and ACP
Automatically resize textareas in prosilver and ACP. PHPBB3-10741
This commit is contained in:
@@ -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
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
|
@@ -225,4 +225,13 @@ $('#member_search').click(function () {
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Automatically resize textarea
|
||||||
|
*/
|
||||||
|
$(document).ready(function() {
|
||||||
|
phpbb.resizeTextArea($('textarea:not(#message-box textarea)'), {minHeight: 75, maxHeight: 250});
|
||||||
|
phpbb.resizeTextArea($('#message-box textarea'));
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
})(jQuery); // Avoid conflicts with other libraries
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
|
Reference in New Issue
Block a user