Fix error handling for Import Operation.

Remove some old icons
This commit is contained in:
Paulo Gustavo Veiga
2012-06-07 19:45:22 -03:00
parent 907f31c030
commit 6f923656ee
10 changed files with 243 additions and 28 deletions

View File

@@ -72,7 +72,14 @@
inputField.parent().addClass('error');
}
}
var globalErrors = errors.globalErrors;
if (globalErrors) {
for (var error in globalErrors) {
// Mark the field with errors ...
$("#dialogMainForm").find(".errorMessage").text(error).addClass("alert alert-error");
inputField.parent().addClass('error');
}
}
} else {
console.log(errorThrown);
console.log(jqXHR);