Updated Branches: refs/heads/trunk 430456471 -> 7af440286
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/9b0eddc7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/9b0eddc7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/9b0eddc7 Branch: refs/heads/trunk Commit: 9b0eddc7443ac954f8690ca4651bb606e21f5bc4 Parents: 79af31f Author: Oleg Nechiporenko <[email protected]> Authored: Fri Sep 13 18:06:59 2013 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Mon Sep 16 12:16:33 2013 +0300 ---------------------------------------------------------------------- ambari-web/app/views/wizard/step9_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9b0eddc7/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 c5f4082..ab3112b 100644 --- a/ambari-web/app/views/wizard/step9_view.js +++ b/ambari-web/app/views/wizard/step9_view.js @@ -93,8 +93,8 @@ App.HostStatusView = Em.View.extend({ this.set('obj.message', Em.I18n.t('installer.step9.host.status.failed')); } } else if (this.get('obj.status') === 'success') { - this.set('barColor', 'progress-success'); - if (this.get('obj.progress') === '100') { + if (this.get('obj.progress') == 100) { + this.set('barColor', 'progress-success'); this.set('obj.message', Em.I18n.t('installer.step9.host.status.success')); } }
