See ChangeLog.

Monotone-Parent: 56f2ec58d7c4d13a4fd5d2b2ef3d23ebab1cbd4c
Monotone-Revision: 33fc22b2046a2c5d54cd55b2e023acb6b89d7ef4

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-05-06T14:34:10
Monotone-Branch: ca.inverse.sogo
Monotone-Tag: SOGo_v1.3.7a
maint-2.0.2
Francis Lachapelle 2011-05-06 14:34:10 +00:00
parent a1c6ba0541
commit 34755d0fce
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2011-05-06 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxPreferences.js
(displayAccountSignature): fixed an issue with an HTML signature
that start with a paragraph tag.
2011-05-05 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/MailerUI/UIxMailAccountActions.m - fixed an issue

View File

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