aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
index 93b2527aebf..ac08223ba83 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/treemap.html.erb
@@ -2,6 +2,7 @@
:treemap_id => widget.id,
:size_metric => widget_properties['sizeMetric'],
:color_metric => widget_properties['colorMetric'],
- :heightInPercents => widget_properties['heightInPercents'],
- :resource_id => @resource.id
+ :height_in_percents => widget_properties['heightInPercents'],
+ :context_type => 'resource',
+ :context_id => @resource.id
} -%> \ No newline at end of file