ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-6362. Strange Config page shown after clicking around on 2k-node cluster (causes config corruption) (alexantonenko)
Date Wed, 02 Jul 2014 18:22:33 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 2be24be3b -> b38012920


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/b3801292
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b3801292
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b3801292

Branch: refs/heads/branch-1.6.1
Commit: b3801292027f80e9d7eeabc458c440b2e4388159
Parents: 2be24be
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Wed Jul 2 21:22:19 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Wed Jul 2 21:22: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/b3801292/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.


Mime
View raw message