mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user