Prevent the proxy handlers from being called on the parents

This commit is contained in:
yflory 2016-12-07 11:12:35 +01:00 committed by GitHub
parent c88fa34558
commit 6feb8548b3

View File

@ -1331,6 +1331,7 @@ define([
refreshFilesData(); refreshFilesData();
} }
module.resetTree(); module.resetTree();
return false;
}).on('remove', [], function () { }).on('remove', [], function () {
var path = arguments[1]; var path = arguments[1];
if ((filesOp.isPathInUnsorted(currentPath) && filesOp.isPathInUnsorted(path)) || if ((filesOp.isPathInUnsorted(currentPath) && filesOp.isPathInUnsorted(path)) ||
@ -1340,6 +1341,7 @@ define([
window.setTimeout(refresh, 200); window.setTimeout(refresh, 200);
} }
module.resetTree(); module.resetTree();
return false;
}); });
refresh(); refresh();