Repository: ambari Updated Branches: refs/heads/trunk 75bf160ce -> 8642a4634
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/8642a463 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8642a463 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8642a463 Branch: refs/heads/trunk Commit: 8642a4634b230755f5c285ed340a7636abe54b8f Parents: 75bf160 Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Wed Jan 25 11:58:52 2017 +0200 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Wed Jan 25 15:53:37 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/8642a463/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 4148197..25f7dfb 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 @@ -664,8 +664,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(); } }) });