diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-12-06 12:41:15 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-12-08 10:29:51 +0100 |
commit | f29f4d9c3ac0292491de972791649108a17d816d (patch) | |
tree | d18b8451f9327baca68afea66b5d9fe3bf7224e4 /core/js/sharedialogshareelistview.js | |
parent | 3ac8d422ded4f2bc1064448041cadb4727e2c1ef (diff) | |
download | nextcloud-server-f29f4d9c3ac0292491de972791649108a17d816d.tar.gz nextcloud-server-f29f4d9c3ac0292491de972791649108a17d816d.zip |
fix rendering for mail shares
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 74ba6b9746c..0fe0747dd59 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -288,7 +288,8 @@ $this.css({width: 32, height: 32}); $this.imageplaceholder($this.data('seed')); } else { - $this.avatar($this.data('username'), 32); + // user, size, ie8fix, hidedefault, callback, displayname + $this.avatar($this.data('username'), 32, undefined, undefined, undefined, $this.data('displayname')); } }); } @@ -304,7 +305,9 @@ var $li = this.$('li[data-share-id=' + permissionChangeShareId + ']'); $li.find('.popovermenu').replaceWith(this.popoverMenuTemplate(sharee)); - var $edit = $li.parent().find('#canEdit-' + this.cid + '-' + sharee.shareWith); + var checkBoxId = 'canEdit-' + this.cid + '-' + sharee.shareWith; + checkBoxId = '#' + checkBoxId.replace( /(:|\.|\[|\]|,|=|@)/g, "\\$1"); + var $edit = $li.parent().find(checkBoxId); if($edit.length === 1) { $edit.prop('checked', sharee.hasEditPermission); } |