mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
resize import popup to regular compose size
This commit is contained in:
parent
424b4c451c
commit
4f59ab7d81
@ -3112,8 +3112,10 @@ class mail_ui
|
|||||||
}
|
}
|
||||||
if (!$importFailed)
|
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);
|
ExecMethod2('mail.mail_ui.displayMessage',$linkData);
|
||||||
exit;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!is_array($content)) $content = array();
|
if (!is_array($content)) $content = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user