From 4dd2e6943e4bd60fbdc1f5c33ffb70e938288a74 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 21 Feb 2014 11:36:09 +0600 Subject: [PATCH] Fix regression: do properly clear the project filter --- .../javascripts/navigator/filters/ajax-select-filters.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/javascripts/navigator/filters/ajax-select-filters.js b/sonar-server/src/main/webapp/javascripts/navigator/filters/ajax-select-filters.js index 2db8e4ddd67..23c0ccdfcf1 100644 --- a/sonar-server/src/main/webapp/javascripts/navigator/filters/ajax-select-filters.js +++ b/sonar-server/src/main/webapp/javascripts/navigator/filters/ajax-select-filters.js @@ -251,7 +251,7 @@ window.SS = typeof window.SS === 'object' ? window.SS : {}; }, - onRestore: function(value) { + onRestore: function() { this.detailsView.updateLists(); this.renderBase(); }, @@ -262,6 +262,7 @@ window.SS = typeof window.SS === 'object' ? window.SS : {}; if (this.selection && this.choices) { this.choices.reset([]); this.selection.reset([]); + this.detailsView.updateLists(); } this.renderBase(); }, -- 2.39.5