зеркало из https://github.com/mozilla/gecko-dev.git
fix problem with not reporting server error messages, r=jefft 11970
This commit is contained in:
Родитель
19d94f3391
Коммит
58ef34a7cf
|
@ -4677,6 +4677,7 @@ void nsImapProtocol::OnRefreshACLForFolder(const char *mailboxName)
|
||||||
|
|
||||||
void nsImapProtocol::OnRefreshAllACLs()
|
void nsImapProtocol::OnRefreshAllACLs()
|
||||||
{
|
{
|
||||||
|
GetServerStateParser().SetReportingErrors(PR_TRUE);
|
||||||
// mscott - haven't ported this yet
|
// mscott - haven't ported this yet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5380,7 +5381,8 @@ void nsImapProtocol::DiscoverMailboxList()
|
||||||
if (GetServerStateParser().ServerHasACLCapability())
|
if (GetServerStateParser().ServerHasACLCapability())
|
||||||
{
|
{
|
||||||
PRInt32 total = m_listedMailboxList.Count(), cnt = 0;
|
PRInt32 total = m_listedMailboxList.Count(), cnt = 0;
|
||||||
GetServerStateParser().SetReportingErrors(PR_FALSE);
|
// Let's not turn this off here, since we don't turn it on after
|
||||||
|
// GetServerStateParser().SetReportingErrors(PR_FALSE);
|
||||||
if (total)
|
if (total)
|
||||||
{
|
{
|
||||||
ProgressEventFunctionUsingId(IMAP_GETTING_ACL_FOR_FOLDER);
|
ProgressEventFunctionUsingId(IMAP_GETTING_ACL_FOR_FOLDER);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче