From: Stas Vilchik Date: Fri, 21 Feb 2014 05:36:09 +0000 (+0600) Subject: Fix regression: do properly clear the project filter X-Git-Tag: 4.2~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4dd2e6943e4bd60fbdc1f5c33ffb70e938288a74;p=sonarqube.git Fix regression: do properly clear the project filter --- 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(); },