1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Merge pull request #773 from owncloud/issue-701

Fixes CardDAV link for shared addressbooks #701
This commit is contained in:
jbtbnl 2015-02-04 15:06:30 +01:00
commit 787892961e

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() {