Repository: ambari Updated Branches: refs/heads/trunk dc34ee92d -> cd751ef1a
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/cd751ef1 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cd751ef1 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cd751ef1 Branch: refs/heads/trunk Commit: cd751ef1afa3f9eb91a2e641f57e428997a0a562 Parents: dc34ee9 Author: pallavkul <[email protected]> Authored: Mon Mar 27 18:58:04 2017 +0530 Committer: pallavkul <[email protected]> Committed: Mon Mar 27 18:58:04 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/cd751ef1/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/cd751ef1/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: {
