loading infolog translations if current_app is NOT infolog

This commit is contained in:
Klaus Leithoff 2009-07-13 10:33:26 +00:00
parent ee2b5cf164
commit b731dcbfe0

View File

@ -91,6 +91,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();
@ -1367,8 +1368,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))