diff options
| author | Gery Debongnie <ged@openerp.com> | 2014-01-28 16:11:13 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2014-01-28 16:11:13 +0100 |
| commit | f27c1df4d2d8c1fe809b4b7c61d4ddfedc6de569 (patch) | |
| tree | 3e08c5def280666f7a62718d7bbcbda6d2876eca /addons/web_graph/static/src/js/graph_widget.js | |
| parent | ad76309fbe29f6d4d2d26393bc8d2b1c595a124f (diff) | |
[IMP] css changes to improve look and usability of pivot table view (addon web_graph)
bzr revid: ged@openerp.com-20140128151113-g8yxl3lphpht4d89
Diffstat (limited to 'addons/web_graph/static/src/js/graph_widget.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph_widget.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js index 100ae21acce..ef547e22632 100644 --- a/addons/web_graph/static/src/js/graph_widget.js +++ b/addons/web_graph/static/src/js/graph_widget.js @@ -362,6 +362,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({ this.$('.graph_main_content svg').remove(); this.$('.graph_main_content div').remove(); this.table.empty(); + this.table.toggleClass('heatmap', this.heatmap_mode !== 'none') this.width = this.$el.width(); this.height = Math.min(Math.max(document.documentElement.clientHeight - 116 - 60, 250), Math.round(0.8*this.$el.width())); |
