forked from extern/egroupware
* Mail: Fix contextmenu does not work on select all
This commit is contained in:
parent
f251ebfa74
commit
bf499a7921
@ -5402,7 +5402,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
|
|
||||||
spamTitan_setActionTitle: function (_action, _sender)
|
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 data = egw.dataGetUIDdata(id);
|
||||||
var fromaddress = data.data.fromaddress.match(/<([^\'\" <>]+)>$/);
|
var fromaddress = data.data.fromaddress.match(/<([^\'\" <>]+)>$/);
|
||||||
var email = (fromaddress && fromaddress[1]) ?fromaddress[1]:data.data.fromaddress;
|
var email = (fromaddress && fromaddress[1]) ?fromaddress[1]:data.data.fromaddress;
|
||||||
|
Loading…
Reference in New Issue
Block a user