Browse Source

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)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1469156 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
c4b4be501d
2 changed files with 5 additions and 3 deletions
  1. 3 0
      CHANGES.txt
  2. 2 3
      ambari-web/app/controllers/wizard/step3_controller.js

+ 3 - 0
CHANGES.txt

@@ -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)
 

+ 2 - 3
ambari-web/app/controllers/wizard/step3_controller.js

@@ -604,7 +604,7 @@ App.WizardStep3Controller = Em.Controller.extend({
       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.Controller.extend({
   },
 
   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 () {