make refresh more robust to errors

pull/314/merge
nightwing 2016-06-15 01:07:11 +04:00
rodzic 14f6a65ea5
commit 32db4ea7e5
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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)