mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug #321551 --> message list pane: wrong scroll position if a mail folder has been entered from an account's top level. patch by mcow/neil. sr=mscott
This commit is contained in:
parent
828ddbe44e
commit
4476b98668
@ -546,6 +546,9 @@ function ShowingThreadPane()
|
||||
var threadPaneSplitter = document.getElementById("threadpane-splitter");
|
||||
threadPaneSplitter.collapsed = false;
|
||||
GetMessagePane().collapsed = (threadPaneSplitter.getAttribute("state") == "collapsed");
|
||||
// XXX We need to force the tree to refresh its new height
|
||||
// so that it will correctly scroll to the newest message
|
||||
GetThreadTree().boxObject.height;
|
||||
document.getElementById("key_toggleMessagePane").removeAttribute("disabled");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user