aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-08 18:39:10 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-08 18:52:12 +0100
commite41624ef15df64ad062f5b035c7ef308c1ff5cdc (patch)
tree614e43a73b61291130e6f6500c4b748a9fe011f8 /plugins
parent369a961c7786ad98785788a8491c7daacf8a54a2 (diff)
downloadsonarqube-e41624ef15df64ad062f5b035c7ef308c1ff5cdc.tar.gz
sonarqube-e41624ef15df64ad062f5b035c7ef308c1ff5cdc.zip
SONAR-3246 Provide "zoom in/zoom out" feature in the Filter Treemap component
* Major refactoring of javascript code for treemap navigation. * Extract the execution of filters in a dedicated Ruby component : Filters.execute(filter)
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