[FIX] removes a debugger statement (addon web_graph)

bzr revid: ged@openerp.com-20131212083936-5s8xi6ays4xq9jul
This commit is contained in:
Gery Debongnie 2013-12-12 09:39:36 +01:00
parent 7a672064c0
commit f24f38ca88
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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});