mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Fix for bug 115446. Need to remove attribute width or height of boxes around splitters when caching a compose window. R=dmose, SR=sspitzer
This commit is contained in:
parent
f9a7f24be9
commit
55f0d88e17
@ -183,6 +183,12 @@ var gComposeRecyclingListener = {
|
||||
disableEditableFields()
|
||||
ReleaseGlobalVariables();
|
||||
|
||||
//Reset Boxes size
|
||||
document.getElementById("headers-box").removeAttribute("height");
|
||||
document.getElementById("appcontent").removeAttribute("height");
|
||||
document.getElementById("addresses-box").removeAttribute("width");
|
||||
document.getElementById("attachments-box").removeAttribute("width");
|
||||
|
||||
//Release the nsIMsgComposeParams object
|
||||
if (window.arguments && window.arguments[0])
|
||||
window.arguments[0] = null;
|
||||
|
@ -176,7 +176,7 @@
|
||||
<menuitem label="&selectAll.label;" accesskey="&selectAll.accesskey;" command="cmd_selectAll"/>
|
||||
</popup>
|
||||
|
||||
<toolbox class="toolbox-top">
|
||||
<toolbox class="toolbox-top" id="headers-box">
|
||||
<menubar id="compose-menubar" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="menu_File">
|
||||
<menupopup id="menu_FilePopup">
|
||||
@ -393,7 +393,7 @@
|
||||
|
||||
<toolbar id="MsgHeadersToolbar" persist="collapsed" tborient="vertical" tbalign="stretch" flex="1" grippytooltiptext="&addressBar.tooltip;">
|
||||
<hbox id="msgheaderstoolbar-box" flex="1">
|
||||
<vbox flex="75">
|
||||
<vbox flex="75" id="addresses-box">
|
||||
<hbox align="center">
|
||||
<label value="&fromAddr.label;"/>
|
||||
<menulist id="msgIdentity" label="..." flex="1" oncommand="LoadIdentity(false);">
|
||||
@ -408,7 +408,7 @@
|
||||
</hbox>
|
||||
</vbox>
|
||||
<splitter id="attachmentbucket-sizer" collapse="after"/>
|
||||
<vbox flex="25">
|
||||
<vbox flex="25" id="attachments-box">
|
||||
<label id="attachmentBucketText" value="&attachments.label;" crop="right"
|
||||
accesskey="&attachments.accesskey;"/>
|
||||
<tree id="attachmentBucket" class="inset toolbar" flex="1" style="height: 0px; width: 0px;"
|
||||
|
Loading…
Reference in New Issue
Block a user