1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Fixes CardDAV link for shared addressbooks #701

This commit is contained in:
jbtbnl 2015-01-12 14:11:28 +01:00
parent c3fb5443a9
commit 3a145480f1

View File

@ -39,7 +39,7 @@ OC.Contacts = OC.Contacts || {};
if (!this.hasPermission(OC.PERMISSION_SHARE)) {
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('input:checkbox').prop('checked', this.book.active).on('change', function() {