AMBARI-20585. Hive view(1.5) 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/d2c5ab66 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d2c5ab66 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d2c5ab66 Branch: refs/heads/branch-2.5 Commit: d2c5ab66343c6f38b1c86f4133c0c4688fd4d39b Parents: 9dd5dcd Author: pallavkul <pallav....@gmail.com> Authored: Mon Mar 27 18:58:04 2017 +0530 Committer: Nitiraj Singh Rathore <nitiraj.rath...@gmail.com> Committed: Tue Apr 4 13:03:12 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/d2c5ab66/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/d2c5ab66/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: {