diff options
| author | Gery Debongnie <ged@openerp.com> | 2013-12-12 09:39:36 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2013-12-12 09:39:36 +0100 |
| commit | f24f38ca880754ea6d514abe4d692b263c95605b (patch) | |
| tree | 8702aaa188dcc3a4d59755e446259c95884e52fa /addons/web_graph/static/src/js/graph.js | |
| parent | 7a672064c02d56f7c833c727e596b098caa5bf08 (diff) | |
[FIX] removes a debugger statement (addon web_graph)
bzr revid: ged@openerp.com-20131212083936-5s8xi6ays4xq9jul
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 808f944c5f7..918a698e7b7 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -183,7 +183,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ mode: this.mode, pivot: this.pivot_table, width: this.$el.width(), - height: Math.max(document.documentElement.clientHeight - 116 - 60, 250), + height: Math.min(Math.max(document.documentElement.clientHeight - 116 - 60, 250), Math.round(0.8*this.$el.width())), measure_label: this.measure_label() }; openerp.web_graph.draw_chart(options); |
