Skip to content
Snippets Groups Projects
Commit e5f40dda authored by Björn Schießle's avatar Björn Schießle
Browse files

only prevent shared action for the Shared folder in the root dir

parent b2da2f76
Branches
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ var FileActions = { ...@@ -112,7 +112,7 @@ var FileActions = {
addAction(name, action); addAction(name, action);
} }
}); });
if(actions.Share && file !== 'Shared'){ if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){
addAction('Share', actions.Share); addAction('Share', actions.Share);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment