diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-08-25 17:08:34 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-08-25 17:08:34 +0200 |
commit | a262be514100c5ce303601c4c3f928525d50d588 (patch) | |
tree | 7b2c71e69d045032dfa16661affea708640df892 /core/js | |
parent | 1efbc993650938ad961285af12b3164654bf8114 (diff) | |
parent | cc898cf346cb956d6ee73149cf5ebcbea55ef8d6 (diff) | |
download | nextcloud-server-a262be514100c5ce303601c4c3f928525d50d588.tar.gz nextcloud-server-a262be514100c5ce303601c4c3f928525d50d588.zip |
Merge pull request #18550 from owncloud/mobile-shared-style
fix being able to distinguish shared items on mobile
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index bf9250b3c3a..7e0d0b7a2d3 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -219,7 +219,7 @@ OC.Share={ return html; }, /** - * Loop over all recipients in the list and format them using + * Loop over all recipients in the list and format them using * all kind of fancy magic. * * @param {String[]} recipients array of all the recipients @@ -249,6 +249,7 @@ OC.Share={ var owner = $tr.attr('data-share-owner'); var shareFolderIcon; var image = OC.imagePath('core', 'actions/share'); + action.removeClass('shared-style'); // update folder icon if (type === 'dir' && (hasShares || hasLink || owner)) { if (hasLink) { @@ -265,6 +266,7 @@ OC.Share={ // update share action text / icon if (hasShares || owner) { recipients = $tr.attr('data-share-recipients'); + action.addClass('shared-style'); message = t('core', 'Shared'); // even if reshared, only show "Shared by" |