summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-04-22 16:59:18 +0200
committerGery Debongnie <ged@openerp.com>2014-04-22 16:59:18 +0200
commit00cb732ea03ed398a31ca0b8a6b8fe3a6749d245 (patch)
treea882729bc7c399f91e59012aa7a607848b86c31d /addons/web_graph/static/src/js
parentb250c5f9f50df6d9b50e4fbeb2128c04247c0e44 (diff)
[FIX] only hide the export button (and not all the config buttons) in graph view when the module xlwt is not installed (addon web)
bzr revid: ged@openerp.com-20140422145918-s20n3qla1nfte5dj
Diffstat (limited to 'addons/web_graph/static/src/js')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index 317ea6cbfb9..7666b345700 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -44,7 +44,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
}
openerp.session.rpc('/web_graph/check_xlwt').then(function (result) {
- self.$('.graph_options_selection label').toggle(result);
+ self.$('.graph_options_selection label').last().toggle(result);
});
return this.model.call('fields_get', []).then(function (f) {