mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 19:41:45 +02:00
fix problem(s) with display of attachments on forward when either forwarding inline with several attachments to the forwarded message or forwarding multiple messages as attachment
This commit is contained in:
@ -2239,7 +2239,8 @@ app.classes.mail = AppJS.extend(
|
||||
attgrid = this.et2.getArrayMgr("content").getEntry('attachments')[widget.id.replace(/\[name\]/,'')];
|
||||
var mailids = this.et2.getArrayMgr("content").getEntry('processedmail_id');
|
||||
var mailida = mailids.split(',');
|
||||
mailid = mailida[widget.id.replace(/\[name\]/,'')];
|
||||
// either several attachments of one email, or multiple emlfiles
|
||||
mailid = mailida.length==1 ? mailida[0] : mailida[widget.id.replace(/\[name\]/,'')];
|
||||
if (typeof attgrid.uid != 'undefined' && attgrid.uid && mailid.indexOf(attgrid.uid)==-1)
|
||||
{
|
||||
for (var i=0; i<mailida.length; i++)
|
||||
|
Reference in New Issue
Block a user