Author: yusaku
Date: Thu Apr 18 04:46:27 2013
New Revision: 1469156
URL: http://svn.apache.org/r1469156
Log:
AMBARI-1962. Host Check popup keeps the "rerun check" button disabled even
after it is done and its hard to know if its actually run or not. (yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1469156&r1=1469155&r2=1469156&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 18 04:46:27 2013
@@ -749,6 +749,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1962. Host Check popup keeps the "rerun check" button disabled even
+ after it is done and its hard to know if its actually run or not. (yusaku)
+
AMBARI-1961. Select Services: clicking on "all" selects HUE even when HUE
support is toggled off. (yusaku)
Modified:
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js?rev=1469156&r1=1469155&r2=1469156&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js
(original)
+++
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js
Thu Apr 18 04:46:27 2013
@@ -604,7 +604,7 @@ App.WizardStep3Controller = Em.Controlle
clearInterval(interval);
App.ajax.send({
name: 'wizard.step3.rerun_checks',
- sender: this,
+ sender: self,
success: 'rerunChecksSuccessCallback',
error: 'rerunChecksErrorCallback'
});
@@ -613,10 +613,9 @@ App.WizardStep3Controller = Em.Controlle
},
rerunChecksSuccessCallback: function (data) {
- var jsonData = (App.testMode) ? data : jQuery.parseJSON(data);
this.set('checksUpdateProgress', 100);
this.set('checksUpdateStatus', 'SUCCESS');
- this.parseWarnings(jsonData);
+ this.parseWarnings(data);
},
rerunChecksErrorCallback: function () {