resize import popup to regular compose size

This commit is contained in:
Ralf Becker 2014-10-15 15:49:41 +00:00
parent 424b4c451c
commit 4f59ab7d81

View File

@ -3112,8 +3112,10 @@ class mail_ui
}
if (!$importFailed)
{
list($width, $height) = explode('x', egw_link::get_registry('mail', 'add_popup'));
if ($width > 0 && $height > 0) egw_json_response::get()->call('resizeTo', $width, $height);
ExecMethod2('mail.mail_ui.displayMessage',$linkData);
exit;
return;
}
}
if (!is_array($content)) $content = array();