Fix for bug 141648. We need to set the focus outside the eidtable field when recycling the compose window to avoid having focus problem on Mac. R=varada, SR=bienvenu

git-svn-id: svn://10.0.0.236/trunk@122129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ducarroz%netscape.com
2002-05-24 19:07:22 +00:00
parent d5ce25ebd6
commit ba00cca6d5

View File

@@ -177,6 +177,12 @@ function enableEditableFields()
var gComposeRecyclingListener = {
onClose: function() {
//Reset focus to avoid undesirable visual effect when reopening the winodw
var identityElement = document.getElementById("msgIdentity");
if (identityElement)
identityElement.focus();
//Reset recipients and attachments
awResetAllRows();
RemoveAllAttachments();