summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-07-05 14:22:59 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-07-05 14:22:59 +0200
commit4ab4e1a739a218b88e00dc5944905c411223b484 (patch)
treee482f45ec71576fbf74285d2d9421ab6397e9135 /addons/web_graph/static/src
parentb864de994b689d07270d1fec24c72106c116cf43 (diff)
parent535f2350ce6bf88fd07d6cae352a72a14d75c379 (diff)
[Merge] trunk
bzr revid: fp@tinyerp.com-20120705122259-zu2hm32a2wh1g6y0
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';