diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index cfece40a7b..8c9fcb085a 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1617,6 +1617,9 @@ unset($query['actions']); } } unset($actionsenabled['drag_mail']); + //error_log(array2string($actionsenabled['view'])); + unset($actionsenabled['view']['children']['openastext']);//not supported in preview + unset($actionsenabled['view']['children']['openashtml']);//not supported in preview return $actionsenabled; } @@ -2751,7 +2754,8 @@ $this->partID = $partID; { // egw_info[flags][css] already include