diff --git a/mailnews/base/resources/content/openSaveAttachment.js b/mailnews/base/resources/content/openSaveAttachment.js index cee28ca87da..91ede735015 100644 --- a/mailnews/base/resources/content/openSaveAttachment.js +++ b/mailnews/base/resources/content/openSaveAttachment.js @@ -16,6 +16,9 @@ * Communications Corporation. Portions created by Netscape are * Copyright (C) 1998-1999 Netscape Communications Corporation. All * Rights Reserved. + * + * Contributor(s): + * Henrik Gemal */ function onLoad() @@ -28,7 +31,7 @@ function onLoad() if (item) { docnamebox.appendChild(item); - item.setAttribute('value', docname); + item.setAttribute('value', unescape(docname)); } } var saveit = document.getElementById("saveIt");