comment clarification

This commit is contained in:
Jörn Friedrich Dreyer 2013-08-14 00:25:07 +02:00
parent ca95a475d5
commit 11a404b90b
1 changed files with 1 additions and 1 deletions

View File

@ -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);