also handle can-edit change
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
2514176e41
commit
39c2d9e663
|
@ -303,6 +303,11 @@
|
|||
$.extend(sharee, this.getShareProperties());
|
||||
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);
|
||||
if($edit.length == 1) {
|
||||
$edit.prop('checked', sharee.hasEditPermission);
|
||||
}
|
||||
}
|
||||
|
||||
var _this = this;
|
||||
|
|
Loading…
Reference in New Issue