You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/08/29 14:44:31 UTC

git commit: AMBARI-7078. Cannot proceed next if Nagios or Ganglia is not selected. (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk c967511f7 -> c485326e9


AMBARI-7078. Cannot proceed next if Nagios or Ganglia is not selected. (akovalenko)


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

Branch: refs/heads/trunk
Commit: c485326e9b323b467a383dae3aac93c5d33ab47e
Parents: c967511
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Fri Aug 29 15:40:12 2014 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Fri Aug 29 15:43:50 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/c485326e/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 d98a848..3688b99 100644
--- a/ambari-web/app/controllers/wizard/step4_controller.js
+++ b/ambari-web/app/controllers/wizard/step4_controller.js
@@ -293,7 +293,9 @@ App.WizardStep4Controller = Em.ArrayController.extend({
       var coSelectedServices = service.get('coSelectedServices');
       coSelectedServices.forEach(function(groupedServiceName) {
         var groupedService = this.findProperty('serviceName', groupedServiceName);
-        groupedService.set('isSelected',service.get('isSelected'));
+        if (groupedService.get('isSelected') !== service.get('isSelected')) {
+          groupedService.set('isSelected',service.get('isSelected'));
+        }
       },this);
     },this);
   },