mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
Bug #3700 --> move canRunURLButBusy back inside the if statement
sr=bienvenu
This commit is contained in:
parent
009ca07c53
commit
0f825d9326
@ -675,9 +675,8 @@ nsImapIncomingServer::CreateImapConnection(nsIEventQueue *aEventQueue,
|
||||
rv = mailnewsUrl->GetMsgWindow(getter_AddRefs(aMsgWindow));
|
||||
|
||||
RequestOverrideInfo(aMsgWindow);
|
||||
}
|
||||
|
||||
canRunButBusy = PR_TRUE;
|
||||
canRunButBusy = PR_TRUE;
|
||||
}
|
||||
}
|
||||
// if we got here and we have a connection, then we should return it!
|
||||
if (canRunUrlImmediately && connection)
|
||||
@ -2016,6 +2015,7 @@ nsresult nsImapIncomingServer::RequestOverrideInfo(nsIMsgWindow *aMsgWindow)
|
||||
if (aMsgWindow)
|
||||
aMsgWindow->GetPromptDialog(getter_AddRefs(dialogPrompter));
|
||||
rv = m_logonRedirector->Logon(userName, password, dialogPrompter, logonRedirectorRequester, nsMsgLogonRedirectionServiceIDs::Imap);
|
||||
if (NS_FAILED(rv)) return OnLogonRedirectionError(nsnull, PR_TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user