mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
force currentapp = mail for compose and display popups
This commit is contained in:
parent
8f29c5a15b
commit
b98326fb0c
@ -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')
|
||||
|
@ -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
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user