Merge branch 'sdk' of github.com:c9/newclient into sdk

pull/39/head
Ruben Daniels 2015-02-18 06:07:19 +00:00
commit 5b4631e511
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -269,7 +269,7 @@ var DataProvider = function(root) {
return node.isSelected = !!val;
};
this.isSelectable = function(node) {
return !node || !node.noSelect;
return !node || !(node.noSelect || node.$depth < 0);
};
this.isAncestor = function(node, child) {