1. Fix for issue http://issues.library.cornell.edu/browse/NIHVIVO-3019
2. Also changed the text in different cases for the error. Code reviewed by Chin Hua.
This commit is contained in:
parent
7a3f04be63
commit
54b390b851
7 changed files with 137 additions and 36 deletions
|
@ -74,11 +74,11 @@ var EntityVisModeController = Class.extend({
|
|||
|
||||
$("#" + responseContainerID).unblock();
|
||||
|
||||
if (data.error) {
|
||||
if (ERROR_DISPLAY_WIDGET.isErrorConditionTriggered(data)) {
|
||||
$("#map-of-science-response").hide();
|
||||
$("#error-container").show();
|
||||
ERROR_DISPLAY_WIDGET.show(ENTITY_TYPE, data);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
data = data[0];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue