only prevent shared action for the Shared folder in the root dir
This commit is contained in:
parent
b2da2f769a
commit
e5f40ddaae
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ var FileActions = {
|
|||
addAction(name, action);
|
||||
}
|
||||
});
|
||||
if(actions.Share && file !== 'Shared'){
|
||||
if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){
|
||||
addAction('Share', actions.Share);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue