incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-3224. Progress bar is shown in green rather than blue. (onechiporenko)
Date Fri, 20 Sep 2013 16:35:06 GMT
Updated Branches:
  refs/heads/trunk dcbdd9be1 -> 2f078e926


AMBARI-3224. Progress bar is shown in green rather than blue. (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/2f078e92
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/2f078e92
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/2f078e92

Branch: refs/heads/trunk
Commit: 2f078e9265d63a47174853500af3cff30fd28d98
Parents: dcbdd9b
Author: Oleg Nechiporenko <cv_github@yahoo.com>
Authored: Fri Sep 20 19:31:13 2013 +0300
Committer: Oleg Nechiporenko <cv_github@yahoo.com>
Committed: Fri Sep 20 19:34:53 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/views/wizard/step9_view.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/2f078e92/ambari-web/app/views/wizard/step9_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/step9_view.js b/ambari-web/app/views/wizard/step9_view.js
index ab3112b..3c57db3 100644
--- a/ambari-web/app/views/wizard/step9_view.js
+++ b/ambari-web/app/views/wizard/step9_view.js
@@ -92,7 +92,7 @@ App.HostStatusView = Em.View.extend({
       if (this.get('obj.progress') === '100') {
         this.set('obj.message', Em.I18n.t('installer.step9.host.status.failed'));
       }
-    } else if (this.get('obj.status') === 'success') {
+    } else if (this.get('obj.status') === 'success' && this.get('isHostCompleted'))
{
       if (this.get('obj.progress') == 100) {
         this.set('barColor', 'progress-success');
         this.set('obj.message', Em.I18n.t('installer.step9.host.status.success'));


Mime
View raw message