forked from extern/egroupware
Fix select all action breaks addressbook's contextmenu
This commit is contained in:
parent
7d3196a1bf
commit
a9e6fa278a
@ -1320,12 +1320,9 @@ app.classes.addressbook = AppJS.extend(
|
||||
{
|
||||
let list = app.status.getEntireList();
|
||||
|
||||
//todo: this is a hack to get selectall action works, since the selected object includes nm parent object as
|
||||
// first object in the list which is not expected at all. This should be removed after fixing action system.
|
||||
if (_selected[0]['id'] == 'nm') _selected.splice(0,1);
|
||||
|
||||
for (let sel in _selected)
|
||||
{
|
||||
if (sel == '0' && _selected[sel]['id'] == 'nm') continue;
|
||||
let row = egw.dataGetUIDdata(_selected[sel]['id']);
|
||||
let enabled = false;
|
||||
for(let entry in list)
|
||||
|
Loading…
Reference in New Issue
Block a user