Browse Source

AMBARI-10247. Usability: Cannot click Next after removing hosts that failed registration (alexantonenko)

Alex Antonenko 10 years ago
parent
commit
6ef5786deb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ambari-web/app/controllers/wizard/step3_controller.js

+ 1 - 0
ambari-web/app/controllers/wizard/step3_controller.js

@@ -312,6 +312,7 @@ App.WizardStep3Controller = Em.Controller.extend(App.ReloadPopupMixin, {
     return App.showConfirmationPopup(function () {
       App.router.send('removeHosts', hosts);
       self.hosts.removeObjects(hosts);
+      self.stopRegistration();
       if (!self.hosts.length) {
         self.set('isSubmitDisabled', true);
       }