зеркало из https://github.com/mozilla/pjs.git
effects thunderbird only until this ifdef gets properly removed. Bug #214764 --> 'Click here to download rest of message' feature does not work for thunderbird because we weren't running the pop url.
sr=bienvenu
This commit is contained in:
Родитель
6dad2abdab
Коммит
e0f0bcd640
|
@ -575,25 +575,16 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
|||
static const char kSnewsURI[] = "snews";
|
||||
static const char kNntpURI[] = "nntp";
|
||||
static const char kImapURI[] = "imap";
|
||||
|
||||
if (scheme.EqualsIgnoreCase(kMailToURI))
|
||||
{
|
||||
// the scheme is mailto, we can handle it
|
||||
}
|
||||
else if (scheme.EqualsIgnoreCase(kNewsURI))
|
||||
{
|
||||
// the scheme is news, we can handle it
|
||||
}
|
||||
else if (scheme.EqualsIgnoreCase(kSnewsURI))
|
||||
{
|
||||
// the scheme is snews, we can handle it
|
||||
}
|
||||
else if (scheme.EqualsIgnoreCase(kNntpURI))
|
||||
{
|
||||
// the scheme is nntp, we can handle it
|
||||
} else if (scheme.EqualsIgnoreCase(kImapURI))
|
||||
{
|
||||
// the scheme is imap, we can handle it
|
||||
static const char kAddbookURI[] = "addbook";
|
||||
static const char kPopURI[] = "pop";
|
||||
static const char kMailboxURI[] = "mailbox";
|
||||
|
||||
|
||||
if (scheme.EqualsIgnoreCase(kMailToURI) || scheme.EqualsIgnoreCase(kNewsURI) || scheme.EqualsIgnoreCase(kSnewsURI) ||
|
||||
scheme.EqualsIgnoreCase(kNntpURI) || scheme.EqualsIgnoreCase(kImapURI) || scheme.EqualsIgnoreCase(kAddbookURI) ||
|
||||
scheme.EqualsIgnoreCase(kPopURI) || scheme.EqualsIgnoreCase(kMailboxURI))
|
||||
{
|
||||
// we can handle all mail schemes
|
||||
} else
|
||||
{
|
||||
// we don't handle this type, the the registered handler take it
|
||||
|
|
Загрузка…
Ссылка в новой задаче