mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user