Browse Source

AMBARI-1963. Deploying progress bar shows 0 tasks after installation failure and going back to a previous step to retry. (yusaku)

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

+ 3 - 0
CHANGES.txt

@@ -749,6 +749,9 @@ Trunk (unreleased changes):
 
 
  BUG FIXES
  BUG FIXES
 
 
+ AMBARI-1963. Deploying progress bar shows 0 tasks after installation failure
+ and going back to a previous step to retry. (yusaku)
+
  AMBARI-1962. Host Check popup keeps the "rerun check" button disabled even
  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)
  after it is done and its hard to know if its actually run or not. (yusaku)
 
 

+ 4 - 4
ambari-web/app/controllers/wizard/step8_controller.js

@@ -967,14 +967,14 @@ App.WizardStep8Controller = Em.Controller.extend({
         success: 'deleteClustersSuccessCallback',
         success: 'deleteClustersSuccessCallback',
         error: 'deleteClustersErrorCallback'
         error: 'deleteClustersErrorCallback'
       });
       });
-    });
+    }, this);
   },
   },
 
 
-  deleteClustersSuccessCallback: function(data, opt) {
-    console.log('DELETE cluster ' + opt.data.name + ' succeeded');
+  deleteClustersSuccessCallback: function(data, opt, params) {
+    console.log('DELETE cluster ' + params.name + ' succeeded');
   },
   },
   deleteClustersErrorCallback: function(request, ajaxOptions, error, opt) {
   deleteClustersErrorCallback: function(request, ajaxOptions, error, opt) {
-    console.log('DELETE cluster ' + opt.data.name + ' failed');
+    console.log('DELETE cluster failed');
   },
   },
 
 
   /**
   /**