From 65004c88401f05bf1e5b236301487ba04c32eefa Mon Sep 17 00:00:00 2001 From: "nhotta%netscape.com" Date: Fri, 21 Jul 2000 22:14:44 +0000 Subject: [PATCH] Unescape escaped filename, bug 39956, r=mscott, a=waterson. --- mailnews/base/resources/content/openSaveAttachment.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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");