remove debug only save attachment menubar

This commit is contained in:
jefft%netscape.com 1999-09-17 23:20:51 +00:00
Родитель da4498e2b2
Коммит 7587ee2e54
1 изменённых файлов: 0 добавлений и 29 удалений

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

@ -134,7 +134,6 @@ nsMimeXULEmitter::~nsMimeXULEmitter(void)
delete mBodyFileSpec;
}
// Attachment handling routines
nsresult
nsMimeXULEmitter::StartAttachment(const char *name, const char *contentType, const char *url)
@ -618,34 +617,6 @@ nsMimeXULEmitter::DumpAttachmentMenu()
UtilityWriteCRLF("</menupopup>");
UtilityWriteCRLF("</menu>");
UtilityWriteCRLF("<menu value=\"Save Attachment(s)\">");
UtilityWriteCRLF("<menupopup>");
for (i=0; i<mAttachArray->Count(); i++)
{
attachmentInfoType *attachInfo = (attachmentInfoType
*)mAttachArray->ElementAt(i);
if (!attachInfo)
continue;
UtilityWrite("<menuitem value=\"");
UtilityWrite(attachInfo->displayName);
UtilityWrite("\" oncommand=\"SaveAttachURL('");
escapedUrl = nsEscape(attachInfo->urlSpec, url_Path);
if (escapedUrl)
{
UtilityWrite(escapedUrl);
nsCRT::free(escapedUrl);
}
else
{
UtilityWrite(attachInfo->urlSpec);
}
UtilityWriteCRLF("' );\" />");
}
UtilityWriteCRLF("</menupopup>");
UtilityWriteCRLF("</menu>");
UtilityWriteCRLF("</menubar>");
}