From 9eeb8e1199b8b0af116008e3ac954daaac9f9bfa Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 13 Jun 2017 15:54:52 +0200 Subject: [PATCH] * Mail: Fix contextmenu does not work on select all --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 7f8756bdeb..4a0a2d2ede 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -5528,7 +5528,7 @@ app.classes.mail = AppJS.extend( spamTitan_setActionTitle: function (_action, _sender) { - var id = _sender[0].id; + var id = _sender[0].id != 'nm'? _sender[0].id:_sender[1].id; var data = egw.dataGetUIDdata(id); var fromaddress = data.data.fromaddress.match(/<([^\'\" <>]+)>$/); var email = _sender.length>1? this.egw.lang('emails'):(fromaddress && fromaddress[1]) ?fromaddress[1]:data.data.fromaddress;