kopia lustrzana https://github.com/c9/core
Merge branch 'sdk' of github.com:c9/newclient into sdk
commit
5b4631e511
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue