Monotone-Parent: 49aa57834a0704767ffea833b67d08d668dd8cb4

Monotone-Revision: a605a01ac319c24f7d200c8006df74163b3a6114

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-26T18:42:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-26 18:42:49 +00:00
parent d0e10adace
commit cbd978a6bc
2 changed files with 7 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
2006-09-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/generic.js: added a "trim" method to the
String class.
* UI/Contacts/UIxContactsListViewBase.m ([UIxContactsListViewBase
-displayName]): new method that returns the display name from "cn"
or from the "displayName" key if found.

View File

@@ -1148,3 +1148,7 @@ HTMLTableElement.prototype.deselectAll = function() {
for (var i = 0; i < nodes.length; i++)
deselectNode(nodes[i]);
}
String.prototype.trim = function() {
return this.replace(/(^\s+|\s+$)/g, '');
}