force currentapp = mail for compose and display popups

This commit is contained in:
Klaus Leithoff 2014-01-17 10:37:43 +00:00
parent 8f29c5a15b
commit b98326fb0c
2 changed files with 2 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ class mail_compose
$sel_options['mimeType'] = self::$mimeTypes;
$sel_options['priority'] = self::$priorities;
if (!isset($content['priority']) || empty($content['priority'])) $content['priority']=3;
$GLOBALS['egw_info']['flags']['currentapp'] = 'mail';
$etpl = new etemplate_new('mail.compose');
if ($content['mimeType']=='html')

View File

@ -1794,6 +1794,7 @@ unset($query['actions']);
$mailBody = $this->get_load_email_data($uid, $partID, $mailbox, $htmlOptions,false);
//error_log(__METHOD__.__LINE__.$mailBody);
$this->mail_bo->closeConnection();
$GLOBALS['egw_info']['flags']['currentapp'] = 'mail';
$etpl = new etemplate_new('mail.display');
// Set cell attributes directly
/*