From 261b17d7b86702bdfb77403daf93ca8f3537b64c Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Thu, 19 Dec 2013 14:49:58 +0100 Subject: [PATCH] [REF] removes old useless comments (addon web_graph) bzr revid: ged@openerp.com-20131219134958-tdgcu3ytbsqszczw --- addons/web_graph/static/src/js/graph.js | 8 -------- 1 file changed, 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); } } },