소스 검색

AMBARI-1264. Service graphs refresh with spinners. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1438852 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 년 전
부모
커밋
894c1f8d4f
3개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      CHANGES.txt
  2. 3 0
      ambari-web/app/views/common/chart/linear_time.js
  3. 1 1
      ambari-web/app/views/main/service/info/summary.js

+ 2 - 0
CHANGES.txt

@@ -149,6 +149,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1264. Service graphs refresh with spinners. (yusaku)
+
  AMBARI-1257. Separator missing in between Oozie and ZooKeeper. (yusaku)
 
  AMBARI-1251. Fix routing issues on Add Host Wizard. (yusaku)

+ 3 - 0
ambari-web/app/views/common/chart/linear_time.js

@@ -298,6 +298,9 @@ App.ChartLinearTimeView = Ember.View.extend({
    * @type Function
    */
   _refreshGraph: function (jsonData) {
+    if(this.get('isDestroyed')){
+      return;
+    }
     var seriesData = this.transformToSeries(jsonData);
 
     if (this.checkSeries(seriesData)) {

+ 1 - 1
ambari-web/app/views/main/service/info/summary.js

@@ -298,7 +298,7 @@ App.MainServiceInfoSummaryView = Em.View.extend({
       }
     }
     return graphs;
-  }.property('service'),
+  }.property(''),
 
   loadServiceSummary:function (serviceName) {