CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows > fix it by declaring the variables beforehand.
(cherry picked from commit 97768b2657839d9daa1e36719c5f0714f9ac2727) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8ce829a8 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8ce829a8 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8ce829a8 Branch: refs/heads/4.5 Commit: 8ce829a8ee841ab63dcde53e53c7be454b952c7a Parents: ba18628 Author: Jessica Wang <[email protected]> Authored: Thu Oct 2 17:07:44 2014 -0700 Committer: David Nalley <[email protected]> Committed: Mon Oct 13 00:27:22 2014 -0400 ---------------------------------------------------------------------- ui/scripts/sharedFunctions.js | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8ce829a8/ui/scripts/sharedFunctions.js ---------------------------------------------------------------------- diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js index 457548c..5597a7b 100644 --- a/ui/scripts/sharedFunctions.js +++ b/ui/scripts/sharedFunctions.js @@ -1455,6 +1455,8 @@ var processPropertiesInImagestoreObject = function(jsonObj) { return vmName; } +var dictionary = {}, dictionary2 = {}; //for globalization + var timezoneMap = new Object(); timezoneMap["Etc/GMT+12"] = "Etc/GMT+12 [GMT-12:00]"; timezoneMap["Etc/GMT+11"] = "Etc/GMT+11 [GMT-11:00]";
