Fix not functioning spam action in preview toolbar

This commit is contained in:
Hadi Nategh 2017-06-22 10:09:15 +02:00
parent a1982abb92
commit c4b78217fc

View File

@ -5383,7 +5383,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)