Ver Fonte

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 há 12 anos atrás
pai
commit
63358d0807
2 ficheiros alterados com 7 adições e 4 exclusões
  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
 
+ 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
  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',
         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) {
-    console.log('DELETE cluster ' + opt.data.name + ' failed');
+    console.log('DELETE cluster failed');
   },
 
   /**