mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Contacts: Add Contact.getDisplayName() method.
This commit is contained in:
parent
eaab96801a
commit
42e848247a
@ -36,6 +36,10 @@ OC.Contacts = OC.Contacts || {};
|
||||
}
|
||||
};
|
||||
|
||||
Contact.prototype.getDisplayName = function() {
|
||||
return this.getPreferredValue('FN');
|
||||
};
|
||||
|
||||
Contact.prototype.getId = function() {
|
||||
return this.id;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user