зеркало из https://github.com/mozilla/pjs.git
Fixes a regression caused by Bug #234707 --> problems adjusting the thread pane splitter when in the wide
layout view.
This commit is contained in:
Родитель
580557c74f
Коммит
dfb0a931da
|
@ -652,6 +652,8 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
|
|||
msgPaneReRooted = true;
|
||||
}
|
||||
|
||||
document.getElementById('messengerBox').removeAttribute('flex');
|
||||
|
||||
// now for each config, handle any extra clean up to create that view (such as changing a box orientation)
|
||||
if (paneConfig == kStandardPaneConfig) // standard 3-Pane Layout
|
||||
{
|
||||
|
@ -665,6 +667,8 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
|
|||
else if (paneConfig == kWidePaneConfig) // "Wide" Window Pane Layout
|
||||
{
|
||||
threadPaneSplitter.setAttribute("orient", "vertical");
|
||||
|
||||
document.getElementById('messengerBox').setAttribute('flex', '1');
|
||||
|
||||
// finally, make sure mailContentWrapper has the correct orientation
|
||||
mailContentWrapper.setAttribute("orient", "vertical");
|
||||
|
|
Загрузка…
Ссылка в новой задаче