зеркало из https://github.com/mozilla/gecko-dev.git
Bug 296597 Make suite save detached attachments r=Mnyromyr sr=bienvenu a=asa
This commit is contained in:
Родитель
f719d8d1bd
Коммит
68b5ab8b21
|
@ -920,11 +920,17 @@ function createNewAttachmentInfo(contentType, url, displayName, uri, isExternalA
|
|||
|
||||
createNewAttachmentInfo.prototype.saveAttachment = function saveAttachment()
|
||||
{
|
||||
if (this.isExternalAttachment)
|
||||
internalSave(this.url, null,
|
||||
this.displayName, null,
|
||||
this.contentType, false,
|
||||
"SaveAttachmentTitle", null, null);
|
||||
else
|
||||
messenger.saveAttachment(this.contentType,
|
||||
this.url,
|
||||
encodeURIComponent(this.displayName),
|
||||
this.uri,
|
||||
this.isExternalAttachment);
|
||||
false);
|
||||
}
|
||||
|
||||
createNewAttachmentInfo.prototype.openAttachment = function openAttachment()
|
||||
|
|
|
@ -5,6 +5,7 @@ searchText=Search Web for "%S"
|
|||
SavePageTitle=Save Web Page
|
||||
SaveImageTitle=Save Image
|
||||
SaveLinkTitle=Save As
|
||||
SaveAttachmentTitle=Save Attachment
|
||||
DefaultSaveFileName=index
|
||||
WebPageCompleteFilter=Web Page, complete
|
||||
WebPageHTMLOnlyFilter=Web Page, HTML only
|
||||
|
|
Загрузка…
Ссылка в новой задаче