summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-12 17:28:36 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-03-12 17:28:36 +0100
commitb2da2f769a896af5a139e6ce426e835b6c60aca9 (patch)
tree0c14cadf0b05b2c86f640a8dfd11515957061961 /apps/files/js
parent569c7ab1384c9d01255ae7bc2075edf11508d4a6 (diff)
downloadnextcloud-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.js2
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);
}