aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-08-13 17:28:23 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-08-13 17:28:23 +0200
commitec103daf26445aa08b7a22cb2a9e367efa0f37d4 (patch)
tree349bfd6644aab6fc13ae9e5f6eaddf63c2ba540b
parent76bdc0dce4922708aaca0583b126a7f6ca3559c2 (diff)
downloadsonarqube-ec103daf26445aa08b7a22cb2a9e367efa0f37d4.tar.gz
sonarqube-ec103daf26445aa08b7a22cb2a9e367efa0f37d4.zip
SONAR-4571 Both Bulk Change and Component Viewer are displayed in Issues Drilldown
-rw-r--r--sonar-server/src/main/webapp/javascripts/application.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/application.js b/sonar-server/src/main/webapp/javascripts/application.js
index 3f687bde1a4..773170b1a38 100644
--- a/sonar-server/src/main/webapp/javascripts/application.js
+++ b/sonar-server/src/main/webapp/javascripts/application.js
@@ -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) {