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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user