aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 5d34faf8a5d..250f410072c 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -177,7 +177,9 @@ OC.Share={
if (allowPublicUploadStatus) {
return true;
}
- allowPublicUploadStatus = (value.permissions & OC.PERMISSION_CREATE) ? true : false;
+ if (value.share_type === OC.Share.SHARE_TYPE_LINK) {
+ allowPublicUploadStatus = (value.permissions & OC.PERMISSION_CREATE) ? true : false;
+ }
});
html += '<input id="shareWith" type="text" placeholder="'+t('core', 'Share with')+'" />';