summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph_widget.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-02-25 15:16:23 +0100
committerGery Debongnie <ged@openerp.com>2014-02-25 15:16:23 +0100
commit47340431f934c071a52ac1e908367fdc6d24882e (patch)
tree693305ee95947cfd68ccaa5d0bcd09916460753d /addons/web_graph/static/src/js/graph_widget.js
parentfed81544ada286ac90d6da38ef69214c89ab98f9 (diff)
[FIX] fixes the tooltip position in chart mode (graph view). The position was wrong because the parent position was not 'relative'. (addon web_graph)
bzr revid: ged@openerp.com-20140225141623-cawr7yur38zhjcz4
Diffstat (limited to 'addons/web_graph/static/src/js/graph_widget.js')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js2
1 files changed, 2 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 f9d508c08b6..b4f06aee3f1 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -171,8 +171,10 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
if (mode === 'pivot') {
this.$('.graph_heatmap label').removeClass('disabled');
+ this.$('.graph_main_content').css('position', 'inherit')
} else {
this.$('.graph_heatmap label').addClass('disabled');
+ this.$('.graph_main_content').css('position', 'relative')
}
this.display_data();
},