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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/application.js b/sonar-server/src/main/webapp/javascripts/application.js
index 6cfcf872ab0..75a5024e407 100644
--- a/sonar-server/src/main/webapp/javascripts/application.js
+++ b/sonar-server/src/main/webapp/javascripts/application.js
@@ -233,8 +233,8 @@ Treemap.prototype.handleClick = function (event) {
var elt = event.findElement('div');
var rid = elt.readAttribute('rid');
- var browsable = elt.hasAttribute('b');
- if (browsable) {
+ var leaf = elt.hasAttribute('l');
+ if (!leaf) {
var label = elt.innerText || elt.textContent;
var context = new TreemapContext('resource', rid, label);
this.breadcrumb.push(context);