From 3316956051ff4e43bf058cfee3de14a255f4f9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Thu, 23 Oct 2014 12:08:38 +0200 Subject: [PATCH] [FIX] add tooltip to some buttons (graph view) --- addons/web_graph/static/src/js/graph_widget.js | 2 ++ addons/web_graph/static/src/xml/web_graph.xml | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js index cfcb8841ca9..b6ba3a4d705 100644 --- a/addons/web_graph/static/src/js/graph_widget.js +++ b/addons/web_graph/static/src/js/graph_widget.js @@ -73,6 +73,8 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({ self.$('.graph_options_selection label').last().toggle(result); }); + this.$buttons.find('button').tooltip(); + return this.model.call('fields_get', []).then(function (f) { self.fields = f; self.fields.__count = {field:'__count', type: 'integer', string:_t('Count')}; diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml index aac5f2433fd..70bcf328d68 100644 --- a/addons/web_graph/static/src/xml/web_graph.xml +++ b/addons/web_graph/static/src/xml/web_graph.xml @@ -2,15 +2,15 @@
- - - - + + + +
- - - + + +