diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-12 17:28:36 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-12 17:28:36 +0100 |
commit | b2da2f769a896af5a139e6ce426e835b6c60aca9 (patch) | |
tree | 0c14cadf0b05b2c86f640a8dfd11515957061961 /apps/files/js | |
parent | 569c7ab1384c9d01255ae7bc2075edf11508d4a6 (diff) | |
download | nextcloud-server-b2da2f769a896af5a139e6ce426e835b6c60aca9.tar.gz nextcloud-server-b2da2f769a896af5a139e6ce426e835b6c60aca9.zip |
don't add share action to the Shared folder
Diffstat (limited to 'apps/files/js')
-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..3c4fa08bf1f 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 && file !== 'Shared'){ addAction('Share', actions.Share); } |