2. Also changed the text in different cases for the error.
Code reviewed by Chin Hua.
This commit is contained in:
tankchintan 2011-07-21 20:31:36 +00:00
parent 7a3f04be63
commit 54b390b851
7 changed files with 137 additions and 36 deletions

View file

@ -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();