mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Fixes CardDAV link for shared addressbooks #701
This commit is contained in:
parent
c3fb5443a9
commit
3a145480f1
@ -39,7 +39,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
if (!this.hasPermission(OC.PERMISSION_SHARE)) {
|
if (!this.hasPermission(OC.PERMISSION_SHARE)) {
|
||||||
this.$li.find('a.action.share').hide();
|
this.$li.find('a.action.share').hide();
|
||||||
}
|
}
|
||||||
if (['local', 'ldap'].indexOf(this.getBackend()) === -1) {
|
if (['local', 'ldap', 'shared'].indexOf(this.getBackend()) === -1) {
|
||||||
this.$li.find('a.action.carddav').hide();
|
this.$li.find('a.action.carddav').hide();
|
||||||
}
|
}
|
||||||
this.$li.find('input:checkbox').prop('checked', this.book.active).on('change', function() {
|
this.$li.find('input:checkbox').prop('checked', this.book.active).on('change', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user