@ -3719,6 +3719,10 @@ define([
}
var $elementRow = $('<span>', {'class': 'cp-app-drive-element-row'}).append($collapse).append($icon).append($name).click(function (e) {
e.stopPropagation();
if (files.restrictedFolders[isSharedFolder]) {
UI.warn(Messages.fm_restricted);
return;
APP.displayDirectory(path);
});
@ -68,6 +68,7 @@ define([
}, waitFor(function (err, newObj) {
if (newObj && newObj.restricted) {
r[fId] = drive.sharedFolders[fId];
if (!r[fId].title) { r[fId].title = r[fId].lastTitle; }
if (newObj && (newObj.deprecated || newObj.restricted)) {
delete folders[fId];