See ChangeLog

Monotone-Parent: 9b1266835546cad935416117e959f5990a2363db
Monotone-Revision: f46a82535044ebae377ca25229db810ded914ae0

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-03-21T20:09:56
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2011-03-21 20:09:56 +00:00
parent 9c6eba47ce
commit 8a2181a9b5
2 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,10 @@
* SoObjects/SOGo/LDAPSource.m (:_qualifierForFilter): avoid
duplicated filters on the CN attribute.
* UI/WebServerResources/UIxPreferences.js
(displayAccountSignature): strips the tags and unescape the HTML
to improve readability.
2011-03-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreCalendarMessage.m

View File

@ -670,7 +670,9 @@ function displayAccountSignature(mailAccount) {
var identity = (mailAccount["identities"]
? mailAccount["identities"][0]
: {} );
var value = identity["signature"];
var value = identity["signature"].replace(/^[ \n\r]*$/, "");
if (CKEDITOR.instances["signature"])
value = value.stripTags().unescapeHTML();
if (value && value.length > 0) {
if (value.length < 30) {
actSignatureValue = value;
@ -685,7 +687,7 @@ function displayAccountSignature(mailAccount) {
while (actSignature.firstChild) {
actSignature.removeChild(actSignature.firstChild);
}
actSignature.appendChild(document.createTextNode(actSignatureValue));
actSignature.update(actSignatureValue);
}
function createMailAccount() {