mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix broken resizing mail compose's textarea
This commit is contained in:
parent
4080a60aa2
commit
b029d826d9
@ -4701,8 +4701,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
|
|
||||||
if (textArea.id != "mail_htmltext")
|
if (textArea.id != "mail_htmltext")
|
||||||
{
|
{
|
||||||
textArea.getParent().set_height(bodySize);
|
textArea.getParent().style.height = `${bodySize}px`;
|
||||||
textArea.set_height(bodySize);
|
|
||||||
}
|
}
|
||||||
else if (typeof textArea != 'undefined' && textArea.id == 'mail_htmltext')
|
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"/>
|
<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>
|
||||||
<et2-hbox disabled="@is_html" class="mailComposeBody mailComposeTextContainer">
|
<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-hbox>
|
||||||
|
|
||||||
</et2-vbox>
|
</et2-vbox>
|
||||||
|
Loading…
Reference in New Issue
Block a user