From caffcee09dd6614cc4aa7eb419531a9df3db6402 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 26 Mar 2015 10:15:36 +0000 Subject: [PATCH] Fix eml attached files not getting opened in popup --- etemplate/js/et2_widget_description.js | 2 +- mail/inc/class.mail_hooks.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_description.js b/etemplate/js/et2_widget_description.js index 53acba93d5..bb60150e8e 100644 --- a/etemplate/js/et2_widget_description.js +++ b/etemplate/js/et2_widget_description.js @@ -245,7 +245,7 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM], } else { - egw(window).open_link(self.options.mime_data || self.options.href, self.options.extra_link_target, self.options.extra_link_popup, null, null, self.options.mime); + egw(window).open_link(self.options.mime_data || self.options.href, self.options.extra_link_title, self.options.extra_link_popup, null, null, self.options.mime); } e.preventDefault(); return false; diff --git a/mail/inc/class.mail_hooks.inc.php b/mail/inc/class.mail_hooks.inc.php index 6e81d895ea..f38fb243b5 100644 --- a/mail/inc/class.mail_hooks.inc.php +++ b/mail/inc/class.mail_hooks.inc.php @@ -96,6 +96,7 @@ class mail_hooks 'mime_data' => 'formData[data]', 'formData[type]' => 'message/rfc822', 'mime_popup' => '870xavailHeight', + 'mime_target' => '_blank' ), ), 'entry' => 'Mail',