mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Small readability fix
This commit is contained in:
parent
3806f0236b
commit
f9aa396d01
@ -1058,9 +1058,10 @@ OC.Contacts = OC.Contacts || {};
|
||||
categories: this.getPreferredValue('CATEGORIES', [])
|
||||
.clean('').join(' / ')
|
||||
});
|
||||
if(this.getOwner() !== OC.currentUser
|
||||
&& !(this.metadata.permissions & OC.PERMISSION_UPDATE
|
||||
|| this.metadata.permissions & OC.PERMISSION_DELETE)) {
|
||||
if (this.getOwner() !== OC.currentUser
|
||||
&& !(this.metadata.permissions & OC.PERMISSION_UPDATE
|
||||
|| this.metadata.permissions & OC.PERMISSION_DELETE)
|
||||
) {
|
||||
this.$listelem.find('input:checkbox').prop('disabled', true).css('opacity', '0');
|
||||
} else {
|
||||
var self = this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user