comment clarification

remotes/origin/stable6
Jörn Friedrich Dreyer 11 years ago
parent ca95a475d5
commit 11a404b90b
  1. 2
      core/js/share.js

@ -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…
Cancel
Save