kopia lustrzana https://github.com/c9/core
make refresh more robust to errors
rodzic
14f6a65ea5
commit
32db4ea7e5
|
@ -35,6 +35,10 @@ define(function(require, exports, module) {
|
|||
cb && cb(err, files);
|
||||
});
|
||||
};
|
||||
model.shouldLoadChildren = function(node, ch) {
|
||||
return node.status == "pending"
|
||||
|| (node.path && node.isFolder && !ch);
|
||||
};
|
||||
model.getClassName = function(node) {
|
||||
var cl = node.className || "";
|
||||
if (node.link)
|
||||
|
|
Ładowanie…
Reference in New Issue