|
|
|
@ -569,6 +569,9 @@ OC.Share={ |
|
|
|
|
} |
|
|
|
|
html += '<label><input type="checkbox" name="mailNotification" class="mailNotification" ' + checked + ' />'+t('core', 'notify by email')+'</label> '; |
|
|
|
|
} |
|
|
|
|
if (possiblePermissions & OC.PERMISSION_SHARE) { |
|
|
|
|
html += '<label><input type="checkbox" name="share" class="permissions" '+shareChecked+' data-permissions="'+OC.PERMISSION_SHARE+'" />'+t('core', 'can share')+'</label>'; |
|
|
|
|
} |
|
|
|
|
if (possiblePermissions & OC.PERMISSION_CREATE || possiblePermissions & OC.PERMISSION_UPDATE || possiblePermissions & OC.PERMISSION_DELETE) { |
|
|
|
|
html += '<label><input type="checkbox" name="edit" class="permissions" '+editChecked+' />'+t('core', 'can edit')+'</label> '; |
|
|
|
|
} |
|
|
|
@ -583,9 +586,6 @@ OC.Share={ |
|
|
|
|
if (possiblePermissions & OC.PERMISSION_DELETE) { |
|
|
|
|
html += '<label><input type="checkbox" name="delete" class="permissions" '+deleteChecked+' data-permissions="'+OC.PERMISSION_DELETE+'" />'+t('core', 'delete')+'</label>'; |
|
|
|
|
} |
|
|
|
|
if (possiblePermissions & OC.PERMISSION_SHARE) { |
|
|
|
|
html += '<label><input type="checkbox" name="share" class="permissions" '+shareChecked+' data-permissions="'+OC.PERMISSION_SHARE+'" />'+t('core', 'share')+'</label>'; |
|
|
|
|
} |
|
|
|
|
html += '</div>'; |
|
|
|
|
html += '</li>'; |
|
|
|
|
html = $(html).appendTo('#shareWithList'); |
|
|
|
|