mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Change variable name.
This commit is contained in:
parent
93db2ca723
commit
d98861d841
@ -904,7 +904,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
console.log('ContactList.showFromAddressbook', aid, show);
|
||||
aid = parseInt(aid);
|
||||
for(var contact in this.contacts) {
|
||||
if(this.contacts[contact].access.aid === aid) {
|
||||
if(this.contacts[contact].access.id === aid) {
|
||||
this.contacts[contact].getListItemElement().toggle(show);
|
||||
} else if(hideothers) {
|
||||
this.contacts[contact].getListItemElement().hide();
|
||||
@ -1178,7 +1178,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
self.addressbooks[parseInt(book.id)] = {
|
||||
owner: book.userid,
|
||||
permissions: parseInt(book.permissions),
|
||||
aid: parseInt(book.id),
|
||||
id: parseInt(book.id),
|
||||
displayname: book.displayname,
|
||||
description: book.description,
|
||||
active: Boolean(parseInt(book.active)),
|
||||
|
Loading…
Reference in New Issue
Block a user