aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF/lib/treemap
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/lib/treemap')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/lib/treemap/html_output.rb1
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/lib/treemap/node.rb4
2 files changed, 4 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/lib/treemap/html_output.rb b/sonar-server/src/main/webapp/WEB-INF/lib/treemap/html_output.rb
index 18b509b59e6..dac5eddcfa8 100644
--- a/sonar-server/src/main/webapp/WEB-INF/lib/treemap/html_output.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/lib/treemap/html_output.rb
@@ -136,5 +136,6 @@ CSS
end
def draw_tooltips(node)
+ ''
end
end
diff --git a/sonar-server/src/main/webapp/WEB-INF/lib/treemap/node.rb b/sonar-server/src/main/webapp/WEB-INF/lib/treemap/node.rb
index 0b277e3d276..dbcc6e4e0fa 100644
--- a/sonar-server/src/main/webapp/WEB-INF/lib/treemap/node.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/lib/treemap/node.rb
@@ -37,7 +37,7 @@ module Treemap
#
#
class Treemap::Node
- attr_accessor :id, :label, :color, :size, :bounds, :parent, :tooltip, :url, :title
+ attr_accessor :id, :label, :color, :size, :bounds, :parent, :tooltip, :url, :title, :rid, :browsable
attr_reader :children
#
@@ -64,6 +64,8 @@ module Treemap
@url = opts[:url]
@tooltip = opts[:tooltip]
@children = []
+ @rid = opts[:rid]
+ @browsable = opts[:browsable]
if(@id.nil?)
make_id