mirror of
https://github.com/nextcloud/server.git
synced 2024-08-10 02:11:09 +02:00
fix rendering for mail shares
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
3ac8d422de
commit
f29f4d9c3a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user