зеркало из https://github.com/mozilla/pjs.git
fixing bug #76719 - SaveAs->file Template menu items don't work on standalone window. r=varada, sr=sspitzer
This commit is contained in:
Родитель
d60c730c21
Коммит
3020f4f81e
|
@ -688,8 +688,8 @@ function MsgUnsubscribe()
|
|||
|
||||
function MsgSaveAsFile()
|
||||
{
|
||||
if (gDBView.numSelected == 1) {
|
||||
SaveAsFile(gDBView.URIForFirstSelectedMessage);
|
||||
if (GetNumSelectedMessages() == 1) {
|
||||
SaveAsFile(GetFirstSelectedMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -697,8 +697,8 @@ function MsgSaveAsFile()
|
|||
function MsgSaveAsTemplate()
|
||||
{
|
||||
var folder = GetLoadedMsgFolder();
|
||||
if (gDBView.numSelected == 1) {
|
||||
SaveAsTemplate(gDBView.URIForFirstSelectedMessage, folder);
|
||||
if (GetNumSelectedMessages() == 1) {
|
||||
SaveAsTemplate(GetFirstSelectedMessage(), folder);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче