mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* Mail: fix opening a forwarded mail as attachment into an existing compose dialog fails
This commit is contained in:
parent
9253e5230a
commit
5f04ec0ad6
@ -324,6 +324,7 @@ class mail_compose
|
||||
if ($appendix_data['emails'])
|
||||
{
|
||||
try {
|
||||
if ($appendix_data['emails']['processedmail_id']) $_content['processedmail_id'] .= ','.$appendix_data['emails']['processedmail_id'];
|
||||
$attched_uids = $this->_get_uids_as_attachments($appendix_data['emails']['ids'], $_content['serverID']);
|
||||
if (is_array($attched_uids))
|
||||
{
|
||||
|
@ -633,7 +633,7 @@ app.classes.mail = AppJS.extend(
|
||||
for(var j = 1; j < _elems.length; j++)
|
||||
settings.id = settings.id + ',' + _elems[j].id;
|
||||
}
|
||||
return egw.openWithinWindow("mail", "setCompose", {data:{emails:{ids:settings.id}}}, settings, /mail.mail_compose.compose/);
|
||||
return egw.openWithinWindow("mail", "setCompose", {data:{emails:{ids:settings.id, processedmail_id:settings.id}}}, settings, /mail.mail_compose.compose/);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user