Mantis 113: MailFieldNames are ignored when composing email with saved preferences

Monotone-Parent: fd4f04fce6a66b3dc14b58f9b67f93c6af6d450a
Monotone-Revision: dc00d231986ac84ebf39553ae085b3efe0f8fae1

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-08-20T20:33:57
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-08-20 20:33:57 +00:00
parent 5da3373d1e
commit 2ffcb68c50
4 changed files with 23 additions and 6 deletions

View File

@@ -632,7 +632,7 @@ function lineBreakCount(str){
function hasSignature() {
try {
return(UserDefaults.MailAccounts[0].identities[0].signature.length > 0);
return(UserDefaults["MailSignature"].length > 0);
} catch(e) {
return false;
}