summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-01-27 09:33:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-01-27 09:33:38 +0100
commit1add2f3f58d6695ad06cc9d77ea0bf04e74339f7 (patch)
treedca24acbb653167e96ccfcb9700289d0c20ae7ea /apps/files_sharing/js
parent29f49ddc3de11fd133a114627d09867e003d30db (diff)
parentefcd89cb18ea9e553d1d7a52f35cd61b499cf184 (diff)
downloadnextcloud-server-1add2f3f58d6695ad06cc9d77ea0bf04e74339f7.tar.gz
nextcloud-server-1add2f3f58d6695ad06cc9d77ea0bf04e74339f7.zip
Merge pull request #13679 from owncloud/public-disablesharejsplugin
Disable JS plugin for sharing in public mode
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 3a16c1f2edd..11c3170c2f0 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -25,7 +25,7 @@
* @param {OCA.Files.FileList} fileList file list to be extended
*/
attach: function(fileList) {
- if (fileList.id === 'trashbin') {
+ if (fileList.id === 'trashbin' || fileList.id === 'files.public') {
return;
}
var fileActions = fileList.fileActions;