comment clarification
This commit is contained in:
parent
ca95a475d5
commit
11a404b90b
|
@ -256,7 +256,7 @@ OC.Share={
|
|||
var shareType = selected.item.value.shareType;
|
||||
var shareWith = selected.item.value.shareWith;
|
||||
$(this).val(shareWith);
|
||||
// Default permissions are Edit and Share (all)
|
||||
// Default permissions are Edit (CRUD) and Share
|
||||
var permissions = OC.PERMISSION_ALL;
|
||||
OC.Share.share(itemType, itemSource, shareType, shareWith, permissions, function() {
|
||||
OC.Share.addShareWith(shareType, shareWith, selected.item.label, permissions, possiblePermissions);
|
||||
|
|
Loading…
Reference in New Issue