From 4bdde714e175b11e393718e38a7cb3fd16f134a7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 22 Jun 2017 10:09:15 +0200 Subject: [PATCH] Fix not functioning spam action in preview toolbar --- 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 4a0a2d2ede..4d249b0c80 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -5494,7 +5494,7 @@ app.classes.mail = AppJS.extend( if (_senders.length == 0) { var nm = this.et2.getWidgetById(this.nm_index); - _senders[0]['id'] = nm.getSelection().ids[0]; + _senders = [{id:nm.getSelection().ids[0]}]; } for (var i in _senders)