Bug 156368 quicksearch fails if focus was in threadpane before search box

patch by neil@parkwaycc.co.uk r=naving sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@125384 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com 2002-07-17 13:06:09 +00:00
parent ba5e37b831
commit 3e602a9f04

View File

@ -784,7 +784,7 @@ function GetMessagePane()
function GetMessagePaneFrame()
{
if (gMessagePaneFrame) return gMessagePaneFrame;
gMessagePaneFrame = document.getElementById("messagepane");
gMessagePaneFrame = document.getElementById("messagepane").contentWindow;
return gMessagePaneFrame;
}
@ -871,8 +871,8 @@ function ClearMessagePane()
{
gHaveLoadedMessage = false;
gCurrentDisplayedMessage = null;
if (GetMessagePaneFrame().currentURI != "about:blank")
GetMessagePaneFrame().loadURI("about:blank");
if (GetMessagePaneFrame().location != "about:blank")
GetMessagePaneFrame().location = "about:blank";
// hide the message header view AND the message pane...
HideMessageHeaderPane();
}