This is an automated email from the ASF dual-hosted git repository. ishanbha pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new 23febb1 [AMBARI-23737] JS error adding Ranger to a cluster (#1146) 23febb1 is described below commit 23febb1e9cfa10e26c657f09265ac9bf32e6a4a4 Author: Ishan Bhatt <ishanbhatt.1...@gmail.com> AuthorDate: Tue May 1 15:04:52 2018 -0400 [AMBARI-23737] JS error adding Ranger to a cluster (#1146) --- ambari-web/app/controllers/wizard/step7_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js index 30131a8..bfda293 100644 --- a/ambari-web/app/controllers/wizard/step7_controller.js +++ b/ambari-web/app/controllers/wizard/step7_controller.js @@ -1097,7 +1097,8 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E * @method selectProperService */ selectProperService: function () { - var tabSelectedServiceName = this.get('tabs').findProperty('isActive', true).get('selectedServiceName'); + var activeTab = this.get('tabs').findProperty('isActive', true); + var tabSelectedServiceName = activeTab ? activeTab.get('selectedServiceName') : null; var lastSelectedService = tabSelectedServiceName ? this.get('stepConfigs').findProperty('serviceName', tabSelectedServiceName) : null if(tabSelectedServiceName && lastSelectedService) { this.set('selectedService', lastSelectedService); -- To stop receiving notification emails like this one, please contact ishan...@apache.org.