Fix select all action breaks addressbook's contextmenu

This commit is contained in:
Hadi Nategh 2020-04-07 11:10:26 +02:00
parent 1c135b2da3
commit cb5b35e2d0
2 changed files with 3 additions and 0 deletions

View File

@ -1090,6 +1090,8 @@ var AddressbookApp = /** @class */ (function (_super) {
var _a;
var list = app.status.getEntireList();
for (var sel in _selected) {
if (sel == '0' && _selected[sel]['id'] == 'nm')
continue;
var row = egw.dataGetUIDdata(_selected[sel]['id']);
var enabled = false;
for (var entry in list) {

View File

@ -1328,6 +1328,7 @@ class AddressbookApp extends EgwApp
let list = app.status.getEntireList();
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)