Merge pull request #2265 from owncloud/no_share_option_for_shared_folder
don't add share action to the Shared folder
This commit is contained in:
commit
c3ba49f384
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ var FileActions = {
|
|||
addAction(name, action);
|
||||
}
|
||||
});
|
||||
if(actions.Share){
|
||||
if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){
|
||||
addAction('Share', actions.Share);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue