]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4571 Both Bulk Change and Component Viewer are displayed in Issues Drilldown
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 13 Aug 2013 15:28:23 +0000 (17:28 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 13 Aug 2013 15:28:23 +0000 (17:28 +0200)
sonar-server/src/main/webapp/javascripts/application.js

index 3f687bde1a4eb243c28d5de9114d9f22615e914c..773170b1a385305edc587070be00d2b00ab1baa4 100644 (file)
@@ -395,6 +395,9 @@ function openAccordionItem(url, elt, updateCurrentElement) {
           }
         } else {
           $j("#accordion-panel").height('auto');
+
+          // Current element is not in a working view, remove again all working views to purge elements that could be added just before this one
+          $j('.'+ htmlClass).remove();
         }
 
         if (updateCurrentElement) {