A fix for addressbook's action select all no longer works

This commit is contained in:
Hadi Nategh 2020-04-06 11:27:09 +02:00
parent 0af40e7c01
commit 687496fb2d

View File

@ -1319,6 +1319,11 @@ app.classes.addressbook = AppJS.extend(
videoconference_isUserOnline: function(_action, _selected)
{
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)
{
let row = egw.dataGetUIDdata(_selected[sel]['id']);