summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogresharerinfoview.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-09-12 14:21:14 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:27 +0200
commitf29b51682bc0be785e1a3e4e5901db3255e4a377 (patch)
tree93375423f13d63a4ca97cc800b8fb981d48432f5 /core/js/sharedialogresharerinfoview.js
parent4c702aa8fdfb28bea4b021e55e7df5eeeb6999d2 (diff)
downloadnextcloud-server-f29b51682bc0be785e1a3e4e5901db3255e4a377.tar.gz
nextcloud-server-f29b51682bc0be785e1a3e4e5901db3255e4a377.zip
share and unshare via link (not yet password). also some internal changes to reduce unnecessary rendering
Diffstat (limited to 'core/js/sharedialogresharerinfoview.js')
-rw-r--r--core/js/sharedialogresharerinfoview.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/sharedialogresharerinfoview.js b/core/js/sharedialogresharerinfoview.js
index f7de90e264f..f6b927c08c5 100644
--- a/core/js/sharedialogresharerinfoview.js
+++ b/core/js/sharedialogresharerinfoview.js
@@ -96,6 +96,13 @@
sharedByText: sharedByText
}));
+ if(this.configModel.areAvatarsEnabled()) {
+ this.$el.find('.avatar').each(function() {
+ var $this = $(this);
+ $this.avatar($this.data('username'), 32);
+ });
+ }
+
return this;
},