summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-08-15 16:19:50 +0200
committerVincent Petry <pvince81@owncloud.com>2014-08-15 16:19:50 +0200
commit607ea636be4a5a48b6abec8df3eaefe20fe4a1ba (patch)
tree920c1e3c7838e4dfbee8c6a8098832e05445d421 /core/js/share.js
parent1fff77f5de6f0cd3810a23f5b666452a5769bb1c (diff)
downloadnextcloud-server-607ea636be4a5a48b6abec8df3eaefe20fe4a1ba.tar.gz
nextcloud-server-607ea636be4a5a48b6abec8df3eaefe20fe4a1ba.zip
Fixed folder icon update routine when share owner exists
Whenever a folder has a "data-share-owner" attribute, the icon is now properly updated to a shared folder icon.
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index f6165602f6c..99a767b47f2 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -231,7 +231,7 @@ OC.Share={
var shareFolderIcon;
var image = OC.imagePath('core', 'actions/share');
// update folder icon
- if (type === 'dir' && (hasShares || hasLink)) {
+ if (type === 'dir' && (hasShares || hasLink || owner)) {
if (hasLink) {
shareFolderIcon = OC.imagePath('core', 'filetypes/folder-public');
}