Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
894c1f8d4f

+ 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) {