mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
loading infolog translations if current_app is NOT infolog
This commit is contained in:
parent
f0a9869bb3
commit
2fc2d839a5
@ -108,6 +108,7 @@ class infolog_ui
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
if ($GLOBALS['egw_info']['flags']['currentapp'] != 'infolog') $GLOBALS['egw']->translation->add_app('infolog');
|
||||
$this->bo =& new infolog_bo();
|
||||
|
||||
$this->tmpl = new etemplate();
|
||||
@ -1349,7 +1350,6 @@ class infolog_ui
|
||||
if (!empty($_to_emailAddress))
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] = 'infolog';
|
||||
$GLOBALS['egw']->translation->add_app($GLOBALS['egw_info']['flags']['currentapp']);
|
||||
echo '<script>window.resizeTo(750,550);</script>';
|
||||
|
||||
if (is_array($_attachments))
|
||||
|
Loading…
Reference in New Issue
Block a user