Fixed the error message in the Javascript validateAsyncCodeIsDuplicated function in currency-form.js.
This commit is contained in:
1 parent
1d61fa93d3
commit
5737d6cef4
1 file changed
+1
-1
@@ -133,7 +133,7 @@ function validateAsyncCodeIsDuplicated(isSubmission, key) {
|
||||
const result = JSON.parse(this.responseText);
|
||||
if (result["exists"]) {
|
||||
field.classList.add("is-invalid");
|
||||
error.innerText = _("Code conflicts with another currency.");
|
||||
error.innerText = A_("Code conflicts with another currency.");
|
||||
if (isSubmission) {
|
||||
isAsyncValid[key] = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user