Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into fileManager

This commit is contained in:
yflory 2016-12-12 12:05:31 +01:00
commit b7f2ef97c7

View File

@ -1333,6 +1333,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)) ||
@ -1342,6 +1343,7 @@ define([
window.setTimeout(refresh, 200); window.setTimeout(refresh, 200);
} }
module.resetTree(); module.resetTree();
return false;
}); });
refresh(); refresh();