mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 03:30:49 +01:00
Fix broken resizing mail compose's textarea
This commit is contained in:
parent
f072d6d620
commit
3203a2b90e
@ -4701,8 +4701,7 @@ app.classes.mail = AppJS.extend(
|
||||
|
||||
if (textArea.id != "mail_htmltext")
|
||||
{
|
||||
textArea.getParent().set_height(bodySize);
|
||||
textArea.set_height(bodySize);
|
||||
textArea.getParent().style.height = `${bodySize}px`;
|
||||
}
|
||||
else if (typeof textArea != 'undefined' && textArea.id == 'mail_htmltext')
|
||||
{
|
||||
|
@ -142,7 +142,7 @@
|
||||
<htmlarea name="mail_htmltext" id="mail_htmltext" statusbar="false" menubar="false" toolbar="@html_toolbar" imageUpload="link_to" expand_toolbar="true" height="478px" width="100%" resize_ratio="0"/>
|
||||
</et2-hbox>
|
||||
<et2-hbox disabled="@is_html" class="mailComposeBody mailComposeTextContainer">
|
||||
<et2-textarea rows="40" cols="120" width="100%" span="all" name="mail_plaintext" id="mail_plaintext" noLang="1" resizeRatio="0"></et2-textarea>
|
||||
<et2-textarea width="100%" span="all" name="mail_plaintext" id="mail_plaintext" noLang="1" resizeRatio="0"></et2-textarea>
|
||||
</et2-hbox>
|
||||
|
||||
</et2-vbox>
|
||||
|
Loading…
Reference in New Issue
Block a user