Repository: ambari Updated Branches: refs/heads/trunk cfff00c33 -> b8884677d
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/b8884677 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b8884677 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b8884677 Branch: refs/heads/trunk Commit: b8884677da5cc4c8cfc9fb0246d8a8598af765aa Parents: cfff00c Author: pallavkul <[email protected]> Authored: Mon Mar 27 18:50:50 2017 +0530 Committer: pallavkul <[email protected]> Committed: Mon Mar 27 18:50:50 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/hive-web/app/controllers/splash.js | 2 +- .../src/main/resources/ui/hive-web/app/routes/splash.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b8884677/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js index 423a0e3..47b5272 100644 --- a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js +++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/controllers/splash.js @@ -106,7 +106,7 @@ checkConnection: function() { }; - let checks = []; + var checks = []; if(model.get("serviceCheckPolicy").checkHdfs){ checks.push("hdfs"); }else{ http://git-wip-us.apache.org/repos/asf/ambari/blob/b8884677/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js index 7e35340..087bab3 100644 --- a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js +++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/routes/splash.js @@ -99,9 +99,9 @@ export default Ember.Route.extend({ this.fetchServiceCheckPolicy() .then((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++; } @@ -121,7 +121,7 @@ export default Ember.Route.extend({ }, fetchServiceCheckPolicy: function(){ - let adapter = this.container.lookup('adapter:service-check'); + var adapter = this.container.lookup('adapter:service-check'); return adapter.fetchServiceCheckPolicy(); }, actions: {
