diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-08 18:39:10 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-08 18:52:12 +0100 |
commit | e41624ef15df64ad062f5b035c7ef308c1ff5cdc (patch) | |
tree | 614e43a73b61291130e6f6500c4b748a9fe011f8 /plugins | |
parent | 369a961c7786ad98785788a8491c7daacf8a54a2 (diff) | |
download | sonarqube-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.erb | 5 |
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 |