mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +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', [])
|
categories: this.getPreferredValue('CATEGORIES', [])
|
||||||
.clean('').join(' / ')
|
.clean('').join(' / ')
|
||||||
});
|
});
|
||||||
if(this.getOwner() !== OC.currentUser
|
if (this.getOwner() !== OC.currentUser
|
||||||
&& !(this.metadata.permissions & OC.PERMISSION_UPDATE
|
&& !(this.metadata.permissions & OC.PERMISSION_UPDATE
|
||||||
|| this.metadata.permissions & OC.PERMISSION_DELETE)) {
|
|| this.metadata.permissions & OC.PERMISSION_DELETE)
|
||||||
|
) {
|
||||||
this.$listelem.find('input:checkbox').prop('disabled', true).css('opacity', '0');
|
this.$listelem.find('input:checkbox').prop('disabled', true).css('opacity', '0');
|
||||||
} else {
|
} else {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user