You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2013/12/25 16:53:45 UTC

git commit: AMBARI-4174. Add Service Wizard: Step 4 js error after selecting all services. (Denys Buzhor via onechiporenko)

Updated Branches:
  refs/heads/trunk 2a48ee546 -> 47d2ff693


AMBARI-4174. Add Service Wizard: Step 4 js error after selecting all services. (Denys Buzhor via onechiporenko)


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

Branch: refs/heads/trunk
Commit: 47d2ff693b2f633c0c19bbff075701d8c00f7f32
Parents: 2a48ee5
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Wed Dec 25 17:53:20 2013 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Wed Dec 25 17:53:20 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step7_controller.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/47d2ff69/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index 5c19af7..d4ef666 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -113,6 +113,7 @@ App.WizardStep7Controller = Em.Controller.extend({
       serviceConfigs.setEach('showConfig', true);
       serviceConfigs.setEach('selected', false);
       this.get('selectedServiceNames').forEach(function(serviceName) {
+        if(!serviceConfigs.findProperty('serviceName', serviceName)) return;
         serviceConfigs.findProperty('serviceName', serviceName).set('selected', true);
       });