Fix share permissions for share tab
This commit is contained in:
parent
018d07b3e5
commit
f709022559
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@
|
||||||
var attributes = {
|
var attributes = {
|
||||||
itemType: 'file',
|
itemType: 'file',
|
||||||
itemSource: this.model.get('id'),
|
itemSource: this.model.get('id'),
|
||||||
// TODO: make these available
|
possiblePermissions: this.model.get('sharePermissions')
|
||||||
possiblePermissions: this.model.get('sharingPossiblePermissions')
|
|
||||||
};
|
};
|
||||||
var shareModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel});
|
var shareModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel});
|
||||||
var configModel = new OC.Share.ShareConfigModel();
|
var configModel = new OC.Share.ShareConfigModel();
|
||||||
|
|
Loading…
Reference in a new issue