Repository: ambari Updated Branches: refs/heads/trunk 1aa731f83 -> 194f1a179
AMBARI-5218 Strange behavior of collapsed panels during removing properties. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/194f1a17 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/194f1a17 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/194f1a17 Branch: refs/heads/trunk Commit: 194f1a179b2ab5c5528cd952bc9bce787cd2e4c9 Parents: 1aa731f Author: aBabiichuk <ababiic...@cybervisiontech.com> Authored: Wed Mar 26 14:35:08 2014 +0200 Committer: aBabiichuk <ababiic...@cybervisiontech.com> Committed: Wed Mar 26 14:35:08 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/views/common/configs/services_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/194f1a17/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 eec38d6..20ca265 100644 --- a/ambari-web/app/views/common/configs/services_config.js +++ b/ambari-web/app/views/common/configs/services_config.js @@ -358,7 +358,7 @@ App.ServiceConfigsByCategoryView = Ember.View.extend({ }); filteredResult = this.sortByIndex(filteredResult); var categoryBlock = $('.' + this.get('category.name') + '>.accordion-body'); - filteredResult.length ? categoryBlock.show() : categoryBlock.hide(); + filteredResult.length && !this.get('category.isCollapsed') ? categoryBlock.show() : categoryBlock.hide(); return filteredResult; }.property('categoryConfigs', 'parentView.filter', 'parentView.columns.@each.selected'),