Repository: ambari Updated Branches: refs/heads/trunk aceeacef6 -> 6568b583d
AMBARI-15757. Add Service step4 load step takes 20+ seconds. (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6568b583 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6568b583 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6568b583 Branch: refs/heads/trunk Commit: 6568b583d6a31c0c2dcecc0a7a82def22103270f Parents: aceeace Author: Oleg Nechiporenko <[email protected]> Authored: Thu Apr 7 15:17:36 2016 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Thu Apr 7 15:17:36 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step7_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6568b583/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 77af047..255bced 100644 --- a/ambari-web/app/controllers/wizard/step7_controller.js +++ b/ambari-web/app/controllers/wizard/step7_controller.js @@ -574,10 +574,10 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E } this._updateIsEditableFlagForConfig(serviceConfigProperty, defaultGroupSelected); - componentConfig.get('configs').pushObject(serviceConfigProperty); serviceConfigProperty.validate(); }, this); + componentConfig.get('configs').pushObjects(configs); component.get('configGroups').filterProperty('isDefault', false).forEach(function (configGroup) { configGroup.set('hash', this.get('wizardController').getConfigGroupHash(configGroup)); }, this);
