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
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue