diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-03-13 08:23:35 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-03-13 08:23:35 -0700 |
commit | c3ba49f38484272fc5ab4f42d187f76b6a416ab3 (patch) | |
tree | 59ca4ae5392023da57caf35b0befe4b62a855859 | |
parent | f3a2daaa9d4fd574236b9168cdd6b0598d8578ce (diff) | |
parent | e5f40ddaae1004835600f3b5a44bc1bdaea59d63 (diff) | |
download | nextcloud-server-c3ba49f38484272fc5ab4f42d187f76b6a416ab3.tar.gz nextcloud-server-c3ba49f38484272fc5ab4f42d187f76b6a416ab3.zip |
Merge pull request #2265 from owncloud/no_share_option_for_shared_folder
don't add share action to the Shared folder
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 38f5bab6f73..f3264da5a12 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -112,7 +112,7 @@ var FileActions = { addAction(name, action); } }); - if(actions.Share){ + if(actions.Share && !($('#dir').val() === '/' && file === 'Shared')){ addAction('Share', actions.Share); } |