Sharing: Fix false positived v. 2

This commit is contained in:
Thomas Tanghus 2012-11-27 23:01:26 +01:00
parent d251f04b98
commit 5c9faf396a
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ OC.Share={
showDropDown:function(itemType, itemSource, appendTo, link, possiblePermissions) {
var data = OC.Share.loadItem(itemType, itemSource);
var html = '<div id="dropdown" class="drop" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">';
if (data.reshare) {
if (data !== false && data.reshare !== false && data.reshare.uid_owner !== undefined) {
if (data.reshare.share_type == OC.Share.SHARE_TYPE_GROUP) {
html += '<span class="reshare">'+t('core', 'Shared with you and the group {group} by {owner}', {group: data.reshare.share_with, owner: data.reshare.uid_owner})+'</span>';
} else {