ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-4662. Install Wizard: Assign Masters: some selects disabled. (Denys Buzhor via onechiporenko)
Date Thu, 13 Feb 2014 17:24:13 GMT
Updated Branches:
  refs/heads/trunk eb60996af -> d520978e3


AMBARI-4662. Install Wizard: Assign Masters: some selects disabled. (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/d520978e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d520978e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d520978e

Branch: refs/heads/trunk
Commit: d520978e332421789705d35927649e44d2b3290e
Parents: eb60996
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Thu Feb 13 19:23:20 2014 +0200
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Thu Feb 13 19:24:04 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/d520978e/ambari-web/app/controllers/wizard/step5_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step5_controller.js b/ambari-web/app/controllers/wizard/step5_controller.js
index e28e736..9c78b5c 100644
--- a/ambari-web/app/controllers/wizard/step5_controller.js
+++ b/ambari-web/app/controllers/wizard/step5_controller.js
@@ -206,7 +206,7 @@ App.WizardStep5Controller = Em.Controller.extend({
           componentObj.component_name = _componentInfo.component_name;
           componentObj.display_name = _componentInfo.display_name;
           componentObj.selectedHost = savedComponent ? savedComponent.hostName : this.selectHost(_componentInfo.component_name);
  // call the method that plays selectNode algorithm or fetches from server
-          componentObj.isInstalled = savedComponent ? savedComponent.isInstalled : App.HostComponent.find().someProperty('componentName',
_componentInfo.component_name);
+          componentObj.isInstalled = savedComponent ? savedComponent.isInstalled : false;
           componentObj.serviceId = services[index];
           componentObj.availableHosts = [];
           componentObj.isHiveCoHost = ['HIVE_METASTORE', 'WEBHCAT_SERVER'].contains(_componentInfo.component_name)
&& !this.get('isReassignWizard');


Mime
View raw message