--- a/web/data/cubicweb.edition.js Thu Jul 02 12:57:51 2009 +0200
+++ b/web/data/cubicweb.edition.js Thu Jul 02 12:58:17 2009 +0200
@@ -306,6 +306,7 @@
function _clearPreviousErrors(formid) {
jQuery('#' + formid + ' span.error').remove();
+ jQuery('div.errorMessage').remove();
}
function _displayValidationerrors(formid, eid, errors) {
@@ -324,7 +325,7 @@
field.before(span);
} else {
firsterrfield = formid;
- globalerrors.push(fieldname + ': ' + errmsg);
+ globalerrors.push(_(fieldname) + ' : ' + errmsg);
}
}
if (globalerrors.length) {