You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ni...@apache.org on 2017/04/04 07:33:52 UTC
[11/11] ambari git commit: AMBARI-20584. Pig view doesn't load in
older version of firefox (Venkata Sairam via pallavkul)
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/9dd5dcd7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9dd5dcd7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9dd5dcd7
Branch: refs/heads/branch-2.5
Commit: 9dd5dcd7f03f29fbf83528a8dbabef1cebf8f811
Parents: ff0e3a4
Author: pallavkul <pa...@gmail.com>
Authored: Mon Mar 27 18:56:16 2017 +0530
Committer: Nitiraj Singh Rathore <ni...@gmail.com>
Committed: Tue Apr 4 13:03:12 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/9dd5dcd7/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/9dd5dcd7/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 {