Do not restrict permissions for the original owner
This commit is contained in:
parent
6ebb021359
commit
4d53706d4c
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ OC.Share={
|
|||
var data = OC.Share.loadItem(itemType, itemSource);
|
||||
var dropDownEl;
|
||||
var html = '<div id="dropdown" class="drop shareDropDown" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">';
|
||||
if (data !== false && data.reshare !== false && data.reshare.uid_owner !== undefined) {
|
||||
if (data !== false && data.reshare !== false && data.reshare.uid_owner !== undefined && data.reshare.uid_owner !== OC.currentUser) {
|
||||
html += '<span class="reshare">';
|
||||
if (oc_config.enable_avatars === true) {
|
||||
html += '<div class="avatar"></div> ';
|
||||
|
|
Loading…
Reference in a new issue