summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-24 13:15:33 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:26 +0200
commitf709022559d434612f995ecce56a65b034590f6b (patch)
tree5152056e2a46349df457b724834eb388f50302ee /apps
parent018d07b3e55fd7234008c51d0a124b7b681a1a4f (diff)
downloadnextcloud-server-f709022559d434612f995ecce56a65b034590f6b.tar.gz
nextcloud-server-f709022559d434612f995ecce56a65b034590f6b.zip
Fix share permissions for share tab
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/sharetabview.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js
index 99a5a0fb1db..11f25c0c47c 100644
--- a/apps/files_sharing/js/sharetabview.js
+++ b/apps/files_sharing/js/sharetabview.js
@@ -57,8 +57,7 @@
var attributes = {
itemType: 'file',
itemSource: this.model.get('id'),
- // TODO: make these available
- possiblePermissions: this.model.get('sharingPossiblePermissions')
+ possiblePermissions: this.model.get('sharePermissions')
};
var shareModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel});
var configModel = new OC.Share.ShareConfigModel();