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
|
@ -6,6 +6,8 @@ var currentVisMode;
|
|||
var currentController;
|
||||
var visModeControllers = {};
|
||||
var responseContainerID = "map-of-science-response";
|
||||
var ERROR_DISPLAY_WIDGET = '';
|
||||
|
||||
var loadingScreenTimeout;
|
||||
|
||||
/*
|
||||
|
@ -84,6 +86,11 @@ function helper() {
|
|||
|
||||
/* Using .load instead of .ready due to issue with IE and Google Maps API */
|
||||
$(window).load(function() {
|
||||
|
||||
ERROR_DISPLAY_WIDGET = new ErrorDisplayWidget({
|
||||
containerID: 'error-container'
|
||||
});
|
||||
|
||||
setupLoadingScreen();
|
||||
initMap();
|
||||
initVisModeController();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue