Let browser handles mime types/text which are not suppose to be popup

This commit is contained in:
Hadi Nategh 2015-03-30 09:57:34 +00:00
parent a06de7758b
commit 41af200dc6

View File

@ -148,7 +148,10 @@ class egw_link extends solink
'mime_popup' => '640x480',
'mime_target' => '_blank',
),
'/^text\\//' => array( // text/* as preg, no modifier!
'text\\//' => array( // text/* as preg, no modifier!
'mime_target' => '_browser',
),
'/^text\\/(plain|html|diff)/' => array( // text/(mimetypes which can be opened as recognised popups)
'mime_popup' => '640x480',
'mime_target' => '_blank',
),