mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +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);
|
console.log('ContactList.showFromAddressbook', aid, show);
|
||||||
aid = parseInt(aid);
|
aid = parseInt(aid);
|
||||||
for(var contact in this.contacts) {
|
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);
|
this.contacts[contact].getListItemElement().toggle(show);
|
||||||
} else if(hideothers) {
|
} else if(hideothers) {
|
||||||
this.contacts[contact].getListItemElement().hide();
|
this.contacts[contact].getListItemElement().hide();
|
||||||
@ -1178,7 +1178,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
self.addressbooks[parseInt(book.id)] = {
|
self.addressbooks[parseInt(book.id)] = {
|
||||||
owner: book.userid,
|
owner: book.userid,
|
||||||
permissions: parseInt(book.permissions),
|
permissions: parseInt(book.permissions),
|
||||||
aid: parseInt(book.id),
|
id: parseInt(book.id),
|
||||||
displayname: book.displayname,
|
displayname: book.displayname,
|
||||||
description: book.description,
|
description: book.description,
|
||||||
active: Boolean(parseInt(book.active)),
|
active: Boolean(parseInt(book.active)),
|
||||||
|
Loading…
Reference in New Issue
Block a user