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:
Björn Schießle 2013-03-13 08:23:35 -07:00
commit c3ba49f384
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ var FileActions = {
addAction(name, action);
}
});
if(actions.Share){
if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){
addAction('Share', actions.Share);
}