]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3524 Remove special treatment of resource with source code to not display next...
authorJulien Lancelot <julien.lancelot@gmail.com>
Fri, 23 Aug 2013 08:39:23 +0000 (10:39 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Fri, 23 Aug 2013 08:39:23 +0000 (10:39 +0200)
sonar-server/src/main/webapp/javascripts/application.js

index 29a1db1a12dcbdde2fd550cb8a150912a4653ce9..fb468cd78dc965770d03b8a8abfe73dd71cb9cdd 100644 (file)
@@ -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();
       }
     );
   });