open eml files in mail or until mail has its own method for it in old felamimail

This commit is contained in:
Ralf Becker 2013-08-16 09:21:05 +00:00
parent cf25e7bae0
commit 7bb9fe23c0
2 changed files with 3 additions and 2 deletions

View File

@ -451,7 +451,7 @@ app.filemanager = AppJS.extend(
}
else
{
egw.open(path, 'file');
egw.open({path: path, type: data.data.mime}, 'file');
}
},

View File

@ -95,6 +95,7 @@ class mail_hooks
// register fmail as handler for .eml files
'mime' => array(
'message/rfc822' => array(
'menuaction' => 'felamimail.uifelamimail.importMessageFromVFS2DraftAndDisplay',
//'menuaction' => 'mail.mail_ui.importMessageFromVFS2DraftAndDisplay',
'mime_popup' => '850xegw_getWindowOuterHeight()',
'mime_url' => 'formData[file]',