if the list is empty/the action object has no children, we do not consider that as allSelected

This commit is contained in:
Klaus Leithoff 2011-05-16 12:05:54 +00:00
parent dcb5a86aca
commit f7cb239a14

View File

@ -816,7 +816,7 @@ egwActionObject.prototype.getAllSelected = function()
if (!this.children[i].getAllSelected()) if (!this.children[i].getAllSelected())
return false; return false;
} }
if (this.children.length == 0) return false;
return true; return true;
} }