diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-09-01 12:43:04 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:27 +0200 |
commit | 5db1db38efffc2110e34886263f3a1117fe8efa5 (patch) | |
tree | 943418f57362240e5f7f0aecef6921312e122e58 /core/js/sharedialogview.js | |
parent | c17d022ca42dda31f321276f2c4973ca2e43c8a4 (diff) | |
download | nextcloud-server-5db1db38efffc2110e34886263f3a1117fe8efa5.tar.gz nextcloud-server-5db1db38efffc2110e34886263f3a1117fe8efa5.zip |
continue to reimplement sharee list view. still WIP
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r-- | core/js/sharedialogview.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 2348c14bb88..9bfe38eea3c 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -63,6 +63,9 @@ /** @type {object} **/ expirationView: undefined, + /** @type {object} **/ + shareeListView: undefined, + initialize: function(options) { var view = this; this.model.on('change', function() { @@ -118,11 +121,18 @@ this.expirationView.render(); this.shareeListView.$el = this.$el.find('.shareeListView'); - this.shareeListView.redner(); + this.shareeListView.render(); this.$el.find('.hasTooltip').tooltip(); if(this.configModel.areAvatarsEnabled()) { - this.$el.find('.avatar').avatar(this.model.getReshareOwner, 32); + this.$el.find('.avatar').each(function() { + var $this = $(this); + $this.avatar($this.data('username'), 32); + }); + this.$el.find('.avatar.imageplaceholderseed').each(function() { + var $this = $(this); + $this.imageplaceholder($this.data('seed')); + }); } return this; |