You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/02/01 16:41:47 UTC
[10/39] ambari git commit: AMBARI-14826. Alert Definitions Table
doesn't clear Alert group filter (onechiporenko)
AMBARI-14826. Alert Definitions Table doesn't clear Alert group filter (onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7371c1b2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7371c1b2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7371c1b2
Branch: refs/heads/branch-dev-patch-upgrade
Commit: 7371c1b24979c373a53c17cc5a6e226a179c8dba
Parents: 62ff3b9
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Thu Jan 28 13:23:16 2016 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Thu Jan 28 13:23:16 2016 +0200
----------------------------------------------------------------------
ambari-web/app/views/common/table_view.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7371c1b2/ambari-web/app/views/common/table_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/table_view.js b/ambari-web/app/views/common/table_view.js
index 422ab4f..2ac9649 100644
--- a/ambari-web/app/views/common/table_view.js
+++ b/ambari-web/app/views/common/table_view.js
@@ -487,10 +487,8 @@ App.TableView = Em.View.extend(App.UserPref, {
*/
clearFilters: function() {
this.set('filterConditions', []);
- this.get('_childViews').forEach(function(childView) {
- if (childView['clearFilter']) {
- childView.clearFilter();
- }
+ this.get('childViews').forEach(function(childView) {
+ Em.tryInvoke(childView, 'clearFilter');
});
}