Repository: ambari Updated Branches: refs/heads/trunk 8d3289418 -> dc34ee92d
AMBARI-20584. Pig view doesn't load in older version of firefox (Venkata Sairam via pallavkul) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dc34ee92 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dc34ee92 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dc34ee92 Branch: refs/heads/trunk Commit: dc34ee92d72d245997b372083c8dd92bb8733cee Parents: 8d32894 Author: pallavkul <[email protected]> Authored: Mon Mar 27 18:56:16 2017 +0530 Committer: pallavkul <[email protected]> Committed: Mon Mar 27 18:56:16 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/pig-web/app/controllers/splash.js | 2 +- .../pig/src/main/resources/ui/pig-web/app/routes/splash.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/dc34ee92/contrib/views/pig/src/main/resources/ui/pig-web/app/controllers/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/pig/src/main/resources/ui/pig-web/app/controllers/splash.js b/contrib/views/pig/src/main/resources/ui/pig-web/app/controllers/splash.js index 4451b84..468fdfa 100644 --- a/contrib/views/pig/src/main/resources/ui/pig-web/app/controllers/splash.js +++ b/contrib/views/pig/src/main/resources/ui/pig-web/app/controllers/splash.js @@ -61,7 +61,7 @@ App.SplashController = Ember.ObjectController.extend({ model.set('percent', percent + (100/model.get("numberOfChecks"))); }; - let checks = []; + var checks = []; if(model.get("serviceCheckPolicy").checkHdfs){ checks.push("hdfs"); }else{ http://git-wip-us.apache.org/repos/asf/ambari/blob/dc34ee92/contrib/views/pig/src/main/resources/ui/pig-web/app/routes/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/pig/src/main/resources/ui/pig-web/app/routes/splash.js b/contrib/views/pig/src/main/resources/ui/pig-web/app/routes/splash.js index 5cfeac7..f9da54d 100644 --- a/contrib/views/pig/src/main/resources/ui/pig-web/app/routes/splash.js +++ b/contrib/views/pig/src/main/resources/ui/pig-web/app/routes/splash.js @@ -42,9 +42,9 @@ App.SplashRoute = Em.Route.extend({ var self = this; controller.fetchServiceCheckPolicy() .then(function(data){ - let numberOfChecks = 0; - let serviceCheckPolicy = data.serviceCheckPolicy; - for (let serviceCheck in serviceCheckPolicy) { + var numberOfChecks = 0; + var serviceCheckPolicy = data.serviceCheckPolicy; + for (var serviceCheck in serviceCheckPolicy) { if (serviceCheckPolicy[serviceCheck] === true) { numberOfChecks++; } @@ -54,7 +54,7 @@ App.SplashRoute = Em.Route.extend({ controller.startTests(model).then(function () { if (model.get("storageTest") && model.get("webhcatTest") && model.get("hdfsTest") && model.get("userhomeTest")) { Ember.run.later(this, function () { - let previousTransition = App.get('previousTransition'); + var previousTransition = App.get('previousTransition'); if (previousTransition) { previousTransition.retry(); } else {
