summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-19 14:49:58 +0100
committerGery Debongnie <ged@openerp.com>2013-12-19 14:49:58 +0100
commit261b17d7b86702bdfb77403daf93ca8f3537b64c (patch)
tree9ce51d124a722c98cc32d5e57b5ec00b3f963777 /addons/web_graph/static/src
parent1d92fc0353c7faad27d0e3a11c1591ce5b71d46e (diff)
[REF] removes old useless comments (addon web_graph)
bzr revid: ged@openerp.com-20131219134958-tdgcu3ytbsqszczw
Diffstat (limited to 'addons/web_graph/static/src')
-rw-r--r--addons/web_graph/static/src/js/graph.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 234fffc5449..189ce801732 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -270,15 +270,7 @@ instance.web_graph.Graph = instance.web.Widget.extend({
this.svg = this.$('.graph_main_content svg')[0];
this.width = this.$el.width();
this.height = Math.min(Math.max(document.documentElement.clientHeight - 116 - 60, 250), Math.round(0.8*this.$el.width()));
- // var options = {
- // svg:
- // mode: this.mode,
- // width: this.$el.width(),
- // height: Math.min(Math.max(document.documentElement.clientHeight - 116 - 60, 250), Math.round(0.8*this.$el.width())),
- // measure_label: this.measure_label()
- // };
this[this.mode]();
- // openerp.web_graph.draw_chart(options);
}
}
},