mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
let PDF, Plain Text and HTML Attachments open in a new window
This commit is contained in:
parent
6b304ea500
commit
993ac50fae
@ -612,7 +612,7 @@
|
||||
$this->t->set_var('size',egw_vfs::hsize($value['size']));
|
||||
$this->t->set_var('attachment_number',$key);
|
||||
|
||||
switch($value['mimeType'])
|
||||
switch(strtoupper($value['mimeType']))
|
||||
{
|
||||
case 'MESSAGE/RFC822':
|
||||
$linkData = array
|
||||
@ -629,7 +629,9 @@
|
||||
case 'IMAGE/JPEG':
|
||||
case 'IMAGE/PNG':
|
||||
case 'IMAGE/GIF':
|
||||
#case 'application/pdf':
|
||||
case 'APPLICATION/PDF':
|
||||
case 'TEXT/PLAIN':
|
||||
case 'TEXT/HTML':
|
||||
$linkData = array
|
||||
(
|
||||
'menuaction' => 'felamimail.uidisplay.getAttachment',
|
||||
|
Loading…
Reference in New Issue
Block a user