Display drive ROOT when the current folder is restricted

pull/1/head
yflory 4 years ago
parent e25756ceca
commit b301825d67

@ -3559,6 +3559,13 @@ define([
var $list = $('<ul>').appendTo($dirContent);
var sfId = manager.isInSharedFolder(currentPath);
// Restricted folder? display ROOT instead
if (sfId && files.restrictedFolders[sfId]) {
_displayDirectory([ROOT], true);
return;
}
var readOnlyFolder = false;
if (APP.readOnly) {
// Read-only drive (team?)

Loading…
Cancel
Save