Bug 296597 Make suite save detached attachments r=Mnyromyr sr=bienvenu a=asa

This commit is contained in:
neil%parkwaycc.co.uk 2005-06-07 23:10:43 +00:00
Родитель f719d8d1bd
Коммит 68b5ab8b21
2 изменённых файлов: 12 добавлений и 5 удалений

Просмотреть файл

@ -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