mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* Mail: Fix contextmenu does not work on select all
This commit is contained in:
parent
f211c72b30
commit
9eeb8e1199
@ -5528,7 +5528,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 = _sender.length>1? this.egw.lang('emails'):(fromaddress && fromaddress[1]) ?fromaddress[1]:data.data.fromaddress;
|
var email = _sender.length>1? this.egw.lang('emails'):(fromaddress && fromaddress[1]) ?fromaddress[1]:data.data.fromaddress;
|
||||||
|
Loading…
Reference in New Issue
Block a user