mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix for #193142.
filename lost when saving / opening attachments. caused by my fix for #191817. I accidentally removed a call to escape(). thanks to jshin@mailaps.org for the fix. r/sr=sspitzer, a=asa
This commit is contained in:
parent
08b98e2fe3
commit
7d03818c4d
@ -850,7 +850,7 @@ function saveAttachment(aAttachment)
|
||||
{
|
||||
messenger.saveAttachment(aAttachment.contentType,
|
||||
aAttachment.url,
|
||||
aAttachment.displayName,
|
||||
escape(aAttachment.displayName),
|
||||
aAttachment.messageUri);
|
||||
}
|
||||
|
||||
@ -858,7 +858,7 @@ function openAttachment(aAttachment)
|
||||
{
|
||||
messenger.openAttachment(aAttachment.contentType,
|
||||
aAttachment.url,
|
||||
aAttachment.displayName,
|
||||
escape(aAttachment.displayName),
|
||||
aAttachment.messageUri);
|
||||
}
|
||||
|
||||
@ -867,7 +867,7 @@ function printAttachment(aAttachment)
|
||||
/* we haven't implemented the ability to print attachments yet...
|
||||
messenger.printAttachment(aAttachment.contentType,
|
||||
aAttachment.url,
|
||||
aAttachment.displayName,
|
||||
escape(aAttachment.displayName),
|
||||
aAttachment.messageUri);
|
||||
*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user