зеркало из https://github.com/mozilla/pjs.git
Bug 360477 - File -> Subscribe menuitem gives imap/nntp subscribe dialog when feeds account or folder selected, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=me
This commit is contained in:
Родитель
1ee1b14498
Коммит
46c2110f94
|
@ -1270,10 +1270,16 @@ function getDestinationFolder(preselectedFolder, server)
|
|||
return destinationFolder;
|
||||
}
|
||||
|
||||
/** Open subscribe window. */
|
||||
function MsgSubscribe()
|
||||
{
|
||||
var preselectedFolder = GetFirstSelectedMsgFolder();
|
||||
Subscribe(preselectedFolder);
|
||||
var preselectedFolder = GetFirstSelectedMsgFolder();
|
||||
|
||||
var server = (preselectedFolder) ? preselectedFolder.server : null;
|
||||
if (server && server.type == "rss")
|
||||
openSubscriptionsDialog(server); // open feed subscription dialog
|
||||
else
|
||||
Subscribe(preselectedFolder); // open imap/nntp subscription dialog
|
||||
}
|
||||
|
||||
function ConfirmUnsubscribe(folder)
|
||||
|
|
Загрузка…
Ссылка в новой задаче