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
This commit is contained in:
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> 2011-05-05 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/MailerUI/UIxMailAccountActions.m - fixed an issue * UI/MailerUI/UIxMailAccountActions.m - fixed an issue

View file

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