1
0
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:
Thomas Tanghus 2013-03-30 20:12:12 +01:00
parent eaab96801a
commit 42e848247a

View File

@ -36,6 +36,10 @@ OC.Contacts = OC.Contacts || {};
}
};
Contact.prototype.getDisplayName = function() {
return this.getPreferredValue('FN');
};
Contact.prototype.getId = function() {
return this.id;
};