mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix save-to-filemanager action not working when it's an opened popup mail from another app (e.g. filemanager)
This commit is contained in:
parent
1768ee998e
commit
88164b6dac
@ -3036,6 +3036,10 @@ app.classes.mail = AppJS.extend(
|
||||
var _id = _elems[i].id;
|
||||
var dataElem = egw.dataGetUIDdata(_id);
|
||||
var subject = dataElem? dataElem.data.subject: _elems[i].subject;
|
||||
if (this.egw.is_popup())
|
||||
{
|
||||
subject = this.et2.getArrayMgr('content').getEntry('mail_displaysubject');
|
||||
}
|
||||
// Replace these now, they really cause problems later
|
||||
var filename = subject.replace(/[\f\n\t\v\/\\\?]/g,"_")|| 'unknown';
|
||||
ids.push(_id);
|
||||
|
Loading…
Reference in New Issue
Block a user