Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 82f8e8107 -> f03fed539


AMBARI-19703. "Add Config Property" causes JS-error (onechiporenko)


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

Branch: refs/heads/branch-2.5
Commit: f03fed5394d9ef36a35a4fc5c8545c0d0e11e27d
Parents: 82f8e81
Author: Oleg Nechiporenko <[email protected]>
Authored: Wed Jan 25 11:58:52 2017 +0200
Committer: Oleg Nechiporenko <[email protected]>
Committed: Wed Jan 25 16:02:09 2017 +0200

----------------------------------------------------------------------
 .../app/views/common/configs/service_configs_by_category_view.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f03fed53/ambari-web/app/views/common/configs/service_configs_by_category_view.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/views/common/configs/service_configs_by_category_view.js 
b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
index 7a5bcbe..d9b4409 100644
--- a/ambari-web/app/views/common/configs/service_configs_by_category_view.js
+++ b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
@@ -655,8 +655,8 @@ App.ServiceConfigsByCategoryView = 
Em.View.extend(App.UserPref, App.ConfigOverri
           var controller = (App.router.get('currentState.name') == 'configs')
             ? App.router.get('mainServiceInfoConfigsController')
             : App.router.get('wizardStep7Controller');
-          this.get('mainView').onClose();
-          controller.set('filter', event.view.get('serviceConfigObj.name'));
+          controller.set('filter', this.get('serviceConfigObj.name'));
+          this.get('parentView').onClose();
         }
       })
     });

Reply via email to