Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 f5e686b65 -> f1cd0b76d


AMBARI-20278. Install Wizard > Select Services: Ambari warns me that "Ambari 
Infra is not selected" but it is selected (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f1cd0b76
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f1cd0b76
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f1cd0b76

Branch: refs/heads/branch-2.5
Commit: f1cd0b76dbac500e66720cd81ff8e003be6dab75
Parents: f5e686b
Author: Alex Antonenko <[email protected]>
Authored: Thu Mar 2 22:21:32 2017 +0200
Committer: Alex Antonenko <[email protected]>
Committed: Fri Mar 3 19:41:32 2017 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step4_controller.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f1cd0b76/ambari-web/app/controllers/wizard/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step4_controller.js 
b/ambari-web/app/controllers/wizard/step4_controller.js
index 9e61a7d..02aeff8 100644
--- a/ambari-web/app/controllers/wizard/step4_controller.js
+++ b/ambari-web/app/controllers/wizard/step4_controller.js
@@ -168,6 +168,8 @@ App.WizardStep4Controller = Em.ArrayController.extend({
   validate: function () {
     var result;
     var self = this;
+    this.set('errorStack', []);
+
     // callback function to reset `isAccepted` needs to be called everytime 
when a popup from errorStack is dismissed/proceed by user action
     var callback = function (id) {
       var check = self.get('errorStack').findProperty('id', id);

Reply via email to