Fix for bug 23109 & 23331. Call new api msgCompose.AttachmentPrettyName to convert an attachment url to something nicer to display in the attachment pane. R=jefft

This commit is contained in:
ducarroz%netscape.com 2000-01-15 01:38:34 +00:00
parent d5354ef4c7
commit 0aeaa0cd52

View File

@ -656,7 +656,9 @@ function AddAttachment(attachment)
var row = document.createElement("treerow");
var cell = document.createElement("treecell");
cell.setAttribute("value", unescape(attachment)); //use for display only
if (msgCompose)
prettyName = msgCompose.AttachmentPrettyName(attachment);
cell.setAttribute("value", prettyName); //use for display only
cell.setAttribute("attachment", attachment); //full url stored here
row.appendChild(cell);
item.appendChild(row);