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 | |
| 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')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 2 | ||||
| -rw-r--r-- | addons/web_graph/static/src/js/pivot.js | 1 |
2 files changed, 1 insertions, 2 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); diff --git a/addons/web_graph/static/src/js/pivot.js b/addons/web_graph/static/src/js/pivot.js index 243997229df..a8ed2ae6ef5 100644 --- a/addons/web_graph/static/src/js/pivot.js +++ b/addons/web_graph/static/src/js/pivot.js @@ -445,7 +445,6 @@ openerp.web_graph.PivotTable = openerp.web.Class.extend({ var col = _.find(col_headers, function (header) { return _.isEqual(header.path, colpath); }); - debugger; cells.push({x: Math.min(row.id, col.id), y: Math.max(row.id, col.id), value: value}); |
