You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/07/02 20:21:04 UTC
git commit: AMBARI-6362. Strange Config page shown after clicking
around on 2k-node cluster (causes config corruption) (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 630323d3c -> 05760df1e
AMBARI-6362. Strange Config page shown after clicking around on 2k-node cluster (causes config corruption) (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/05760df1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/05760df1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/05760df1
Branch: refs/heads/trunk
Commit: 05760df1e29807e6288ae2728c41d17e7f19dd34
Parents: 630323d
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Jul 2 21:18:19 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jul 2 21:18:19 2014 +0300
----------------------------------------------------------------------
ambari-web/app/views/common/configs/services_config.js | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/05760df1/ambari-web/app/views/common/configs/services_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/services_config.js b/ambari-web/app/views/common/configs/services_config.js
index 9f5b8af..1c66e7d 100644
--- a/ambari-web/app/views/common/configs/services_config.js
+++ b/ambari-web/app/views/common/configs/services_config.js
@@ -420,6 +420,14 @@ App.ServiceConfigsByCategoryView = Ember.View.extend({
});
},
+ willDestroyElement: function () {
+ if (this.get('parentView.controller.name') == 'mainServiceInfoConfigsController') {
+ this.get('categoryConfigsAll').forEach(function (item) {
+ item.set('isVisible', false);
+ });
+ }
+ },
+
/**
* If added/removed a serverConfigObject, this property got updated.
* Without this property, all serviceConfigs Objects will show up even if some was collapsed before.