summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-06-28 14:26:49 +0200
committerThibault Delavallée <tde@openerp.com>2012-06-28 14:26:49 +0200
commitdb4fa6582ca84cda2147ded1e98dc22659bcb198 (patch)
treee8a4451c466b49f77cee00f7a83dcceffe63f4bb /addons/web_graph/static/src
parent48b08907c082164acc81cc770bc790e442a20f71 (diff)
parent492af8bef457c63e93a952a75a9ba7bae647dc01 (diff)
[MERGE] Merged with trunk web.
bzr revid: tde@openerp.com-20120628105323-p50min2k8by55jg0 bzr revid: tde@openerp.com-20120628122649-affstbyq1mt80qnt
Diffstat (limited to 'addons/web_graph/static/src')
-rw-r--r--addons/web_graph/static/src/js/graph.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 52162285f27..2dfe0202cfc 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -53,6 +53,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
// TODO: move to load_view and document
var self = this;
this.fields_view = fields_view_get;
+ this.$element.addClass(this.fields_view.arch.attrs['class']);
this.mode = this.fields_view.arch.attrs.type || 'bar';
this.orientation = this.fields_view.arch.attrs.orientation == 'horizontal';