fix 282669 focus To: address field correctly when cached compose window re-used, a=mscott

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202296 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com
2006-07-18 03:18:55 +00:00
parent 36e1931e7d
commit 26d34f6d41

View File

@@ -228,6 +228,10 @@ var gComposeRecyclingListener = {
disableEditableFields();
ReleaseGlobalVariables();
// Clear the focus
if (top.awInputElement.getAttribute('focused') != '')
top.awInputElement.removeAttribute('focused');
//Reset Boxes size
document.getElementById("headers-box").removeAttribute("height");
document.getElementById("appcontent").removeAttribute("height");