mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Contacts: Trim group name.
This commit is contained in:
parent
fdb6768c55
commit
821b35ce1c
@ -87,7 +87,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
* @returns string The name of the group.
|
* @returns string The name of the group.
|
||||||
*/
|
*/
|
||||||
GroupList.prototype.nameById = function(id) {
|
GroupList.prototype.nameById = function(id) {
|
||||||
return this.findById(id).clone().find("*").remove().end().text(); //.contents().filter(function(){ return(this.nodeType == 3); }).text().trim();
|
return this.findById(id).clone().find("*").remove().end().text().trim(); //.contents().filter(function(){ return(this.nodeType == 3); }).text().trim();
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Get the group element by id.
|
/** Get the group element by id.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user