ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-7078. Cannot proceed next if Nagios or Ganglia is not selected. (akovalenko)
Date Fri, 29 Aug 2014 12:44:31 GMT
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 <akovalenko@hortonworks.com>
Authored: Fri Aug 29 15:40:12 2014 +0300
Committer: Aleksandr Kovalenko <akovalenko@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);
   },


Mime
View raw message