Fix error handling for Import Operation.
Remove some old icons
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user