From 8c3da7b9077f400ac97b0b745445d0d798438941 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 23 Aug 2013 10:39:23 +0200 Subject: [PATCH] SONAR-3524 Remove special treatment of resource with source code to not display next level in treemap --- sonar-server/src/main/webapp/javascripts/application.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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(); } ); }); -- 2.39.5