From: Julien Lancelot Date: Fri, 23 Aug 2013 08:39:23 +0000 (+0200) Subject: SONAR-3524 Remove special treatment of resource with source code to not display next... X-Git-Tag: 3.7.1-RC1-~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c3da7b9077f400ac97b0b745445d0d798438941;p=sonarqube.git SONAR-3524 Remove special treatment of resource with source code to not display next level in treemap --- diff --git a/sonar-server/src/main/webapp/javascripts/application.js b/sonar-server/src/main/webapp/javascripts/application.js index 29a1db1a12d..fb468cd78dc 100644 --- a/sonar-server/src/main/webapp/javascripts/application.js +++ b/sonar-server/src/main/webapp/javascripts/application.js @@ -241,12 +241,9 @@ Treemap.prototype.initNodes = function () { $j(this).on("click", function (event) { var source = $j(this); var rid = source.attr('rid'); - var has_leaves = !!(source.attr('l')); - if (!has_leaves) { - var context = new TreemapContext(rid, source.text()); - self.breadcrumb.push(context); - self.load(); - } + var context = new TreemapContext(rid, source.text()); + self.breadcrumb.push(context); + self.load(); } ); });