Bug 317680: F8 works when it should not: account page displayed, patch by Magnus Melin <mkmelin+bugzilla@cc.hut.fi>, r=bienvenu, branch181=mscott

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2006-02-25 22:45:52 +00:00
parent bb11e3818a
commit 93e252107e

View File

@@ -554,6 +554,7 @@ function ShowingAccountCentral()
Components.interfaces.nsIPrefLocalizedString).data;
GetMessagePane().collapsed = true;
document.getElementById("threadpane-splitter").collapsed = true;
document.getElementById("key_toggleMessagePane").setAttribute("disabled", "true");
window.frames["accountCentralPane"].location.href = acctCentralPage;
@@ -578,6 +579,7 @@ function HidingAccountCentral()
{
dump("Error hiding AccountCentral page -> " + ex + "\n");
}
document.getElementById("key_toggleMessagePane").removeAttribute("disabled");
gAccountCentralLoaded = false;
}