You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2013/07/13 01:17:05 UTC

[3/3] git commit: AMBARI-2635. Perf: Service summary view inefficiently binds to host components. (srimanth)

AMBARI-2635. Perf: Service summary view inefficiently binds to host components. (srimanth)


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

Branch: refs/heads/branch-1.2.5
Commit: 09b5294455dc753f38b97894aea0c0e8a75b3ad9
Parents: a47f4f2
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Fri Jul 12 15:40:11 2013 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Fri Jul 12 16:15:28 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/views/main/service/info/summary.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/09b52944/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js b/ambari-web/app/views/main/service/info/summary.js
index b0623fb..5cbe478 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -236,7 +236,9 @@ App.MainServiceInfoSummaryView = Em.View.extend({
           components.push(obj);
         }
       });
-      this.set('components', components);
+      if(!this.get('isDestroyed') && !this.get('isDestroying')){
+        this.set('components', components);
+      }
   },
   
   _hostComponentsUpd: function() {