Repository: ambari
Updated Branches:
  refs/heads/trunk 0241bf3e1 -> 5b58d16df


AMBARI-5598 Security wizard: Host progress in the popup does not update. 
(atkach)


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

Branch: refs/heads/trunk
Commit: 5b58d16df31d489db81372831b1b107caa05131c
Parents: 0241bf3
Author: atkach <atk...@hortonworks.com>
Authored: Mon Apr 28 20:51:24 2014 +0300
Committer: atkach <atk...@hortonworks.com>
Committed: Mon Apr 28 20:51:24 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/host_progress_popup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5b58d16d/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js 
b/ambari-web/app/utils/host_progress_popup.js
index 290cbcf..7a5edd1 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -354,7 +354,7 @@ App.HostPopup = Em.Object.create({
         existedHosts.forEach(function (host) {
           var newHostInfo = hostsMap[host.get('name')];
           //update only hosts with changed tasks or currently opened tasks of 
host
-          if (newHostInfo && (newHostInfo.isModified || 
this.get('currentHostName') === host.get('name'))) {
+          if (newHostInfo && (!this.get('isBackgroundOperations') || 
newHostInfo.isModified || this.get('currentHostName') === host.get('name'))) {
             var hostStatus = self.getStatus(newHostInfo.logTasks);
             var hostProgress = self.getProgress(newHostInfo.logTasks);
             host.set('status', App.format.taskStatus(hostStatus[0]));

Reply via email to