aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts/application.js
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-21 12:31:23 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-21 12:31:23 +0100
commit47f803be07c81dac2396f364deca15a2bb1fa7e8 (patch)
tree95a94de509eeb0def2aa3d17e03f88becb002f7d /sonar-server/src/main/webapp/javascripts/application.js
parentb27c50696631e0b9d4183a576e7c9783d5084ad7 (diff)
downloadsonarqube-47f803be07c81dac2396f364deca15a2bb1fa7e8.tar.gz
sonarqube-47f803be07c81dac2396f364deca15a2bb1fa7e8.zip
Add ResourceDefinition#hasSourceCode
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);