mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* Mail: Fix mail import does not display imported mail in correct style
This commit is contained in:
parent
5d128cc43b
commit
5fafcf0e51
@ -3721,9 +3721,8 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
}
|
||||
if (!$importFailed)
|
||||
{
|
||||
list($width, $height) = explode('x', Link::get_registry('mail', 'add_popup'));
|
||||
if ($width > 0 && $height > 0) Api\Json\Response::get()->call('resizeTo', $width, $height);
|
||||
ExecMethod2('mail.mail_ui.displayMessage',$linkData);
|
||||
Api\Json\Response::get()->call('egw.open', $linkData['id'], 'mail', 'view');
|
||||
Api\Json\Response::get()->call('window.close');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user