mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Contacts: Define self.
This commit is contained in:
parent
b2de5cb380
commit
fa2ce2f1c0
@ -1537,7 +1537,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
};
|
||||
|
||||
ContactList.prototype.setCurrent = function(id, deselect_other) {
|
||||
self = this;
|
||||
var self = this;
|
||||
if(deselect_other === true) {
|
||||
$.each(this.contacts, function(contact) {
|
||||
self.contacts[contact].setCurrent(false);
|
||||
|
Loading…
Reference in New Issue
Block a user