Mantis 3319: gestion des labels JavaScript

Monotone-Parent: 354ed3b0a354fd29a34c03d0b9f2d7961066e075
Monotone-Revision: 9ce00a7f3dabe1a68fa6eb5c0dc5e85403287b76

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-11T20:25:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-09-11 20:25:06 +00:00
parent 8d8d9e4155
commit 4b54234375
13 changed files with 93 additions and 80 deletions
+3 -3
View File
@@ -112,13 +112,13 @@ function validateEditorInput(sender) {
field = document.pageform.subject;
if (field.value == "")
errortext = errortext + labels["error_missingsubject"] + "\n";
errortext = errortext + label ("error_missingsubject") + "\n";
if (!hasRecipients())
errortext = errortext + labels["error_missingrecipients"] + "\n";
errortext = errortext + label ("error_missingrecipients") + "\n";
if (errortext.length > 0) {
alert(labels["error_validationfailed"] + ":\n" + errortext);
alert(label ("error_validationfailed") + ":\n" + errortext);
return false;
}