aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/webapp/javascripts/application.js')
-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) {