forked from extern/egroupware
* Mail: Fix mail import does not display imported mail in correct style
This commit is contained in:
parent
4c99e0bf99
commit
26bd318aaa
@ -3664,9 +3664,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