Author: yusaku
Date: Sat Jan 26 05:27:02 2013
New Revision: 1438852
URL: http://svn.apache.org/viewvc?rev=1438852&view=rev
Log:
AMBARI-1264. Service graphs refresh with spinners. (yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/views/common/chart/linear_time.js
incubator/ambari/trunk/ambari-web/app/views/main/service/info/summary.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1438852&r1=1438851&r2=1438852&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Sat Jan 26 05:27:02 2013
@@ -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)
Modified:
incubator/ambari/trunk/ambari-web/app/views/common/chart/linear_time.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/common/chart/linear_time.js?rev=1438852&r1=1438851&r2=1438852&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/common/chart/linear_time.js
(original)
+++ incubator/ambari/trunk/ambari-web/app/views/common/chart/linear_time.js Sat
Jan 26 05:27:02 2013
@@ -298,6 +298,9 @@ App.ChartLinearTimeView = Ember.View.ext
* @type Function
*/
_refreshGraph: function (jsonData) {
+ if(this.get('isDestroyed')){
+ return;
+ }
var seriesData = this.transformToSeries(jsonData);
if (this.checkSeries(seriesData)) {
Modified:
incubator/ambari/trunk/ambari-web/app/views/main/service/info/summary.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/main/service/info/summary.js?rev=1438852&r1=1438851&r2=1438852&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/main/service/info/summary.js
(original)
+++ incubator/ambari/trunk/ambari-web/app/views/main/service/info/summary.js
Sat Jan 26 05:27:02 2013
@@ -298,7 +298,7 @@ App.MainServiceInfoSummaryView = Em.View
}
}
return graphs;
- }.property('service'),
+ }.property(''),
loadServiceSummary:function (serviceName) {