]> source.dussan.org Git - sonarqube.git/commitdiff
Fix regression: do properly clear the project filter
authorStas Vilchik <vilchiks@gmail.com>
Fri, 21 Feb 2014 05:36:09 +0000 (11:36 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 21 Feb 2014 05:36:09 +0000 (11:36 +0600)
sonar-server/src/main/webapp/javascripts/navigator/filters/ajax-select-filters.js

index 2db8e4ddd67f350edb9cfc4c3a5dd7033b1e9613..23c0ccdfcf1670ae14d9386584fe326038785b8b 100644 (file)
@@ -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();
     },