AMBARI-10247. Usability: Cannot click Next after removing hosts that failed registration (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6ef5786d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6ef5786d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6ef5786d Branch: refs/heads/trunk Commit: 6ef5786debe431d248721ea8cae7bdb4b3bcd433 Parents: e2ea86f Author: Alex Antonenko <hiv...@gmail.com> Authored: Fri Mar 27 19:01:46 2015 +0200 Committer: Alex Antonenko <hiv...@gmail.com> Committed: Fri Mar 27 21:51:59 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step3_controller.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6ef5786d/ambari-web/app/controllers/wizard/step3_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js index aeff5ad..1a6ebe5 100644 --- a/ambari-web/app/controllers/wizard/step3_controller.js +++ b/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); }