mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
mask # as _ while saving/exporting to vfs
This commit is contained in:
parent
db7e935aef
commit
77fa6800b2
@ -249,7 +249,7 @@ function mail_save2fm(_action, _elems)
|
|||||||
url += 'menuaction=filemanager.filemanager_select.select'; // todo compose for Draft folder
|
url += 'menuaction=filemanager.filemanager_select.select'; // todo compose for Draft folder
|
||||||
//url += '&icServer='+egw_appWindow('felamimail').activeServerID;
|
//url += '&icServer='+egw_appWindow('felamimail').activeServerID;
|
||||||
url += '&mode=saveas';
|
url += '&mode=saveas';
|
||||||
var filename = _elems[0].data.data.subject.data.replace(/[\f\n\t\v/\\:*?<>\|]/g,"_");
|
var filename = _elems[0].data.data.subject.data.replace(/[\f\n\t\v/\\:*#?<>\|]/g,"_");
|
||||||
url += '&name='+encodeURIComponent(filename+'.eml');
|
url += '&name='+encodeURIComponent(filename+'.eml');
|
||||||
url += '&mime=message'+encodeURIComponent('/')+'rfc822';
|
url += '&mime=message'+encodeURIComponent('/')+'rfc822';
|
||||||
url += '&method=felamimail.uidisplay.vfsSaveMessage'
|
url += '&method=felamimail.uidisplay.vfsSaveMessage'
|
||||||
|
Loading…
Reference in New Issue
Block a user