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

Merge pull request #2265 from owncloud/no_share_option_for_shared_folder

don't add share action to the Shared folder
parents f3a2daaa e5f40dda
No related branches found
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){ 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