diff options
| author | Gery Debongnie <ged@openerp.com> | 2013-11-15 12:26:59 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2013-11-15 12:26:59 +0100 |
| commit | 776a57ef0cda65ce03f60d9f5bf3d466225dd4b2 (patch) | |
| tree | 1c13bf44989fc8defe8cba2ecce42a15293ed9b6 /addons/web_graph/static/src/js/graph.js | |
| parent | 75caaeb1a39cea51b05e41c3f5db1fe904f64f43 (diff) | |
[FIX] fixes a bug where the view build a table without clearing the existing rows (addon web_graph)
bzr revid: ged@openerp.com-20131115112659-mzb4smcr85dq60ww
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, 2 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 93e8d72cfe8..5a4ff51f2d4 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -144,6 +144,7 @@ var BasicDataView = instance.web.Widget.extend({ // measure: quantity to display. either a field from the model, or // null, in which case we use the "count" measure init: function (model, options) { + console.log("initializing", model, options); var self = this; this.model = model; this.fields = options.fields; @@ -422,6 +423,7 @@ var PivotTable = BasicDataView.extend({ build_table: function (data) { var self = this; + this.rows = []; this.cols = [{ path: [], |
