From 5aade330c20a1021eaa31bf932dab81dd45ec431 Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Fri, 17 Jan 2014 16:33:30 +0100 Subject: [FIX] fixes a typo (nodata => no_data), which prevents a crash in graph_view, addon web_graph) bzr revid: ged@openerp.com-20140117153330-9vc6bzljmso9zu71 --- addons/web_graph/static/src/js/pivot_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web_graph/static/src/js/pivot_table.js') diff --git a/addons/web_graph/static/src/js/pivot_table.js b/addons/web_graph/static/src/js/pivot_table.js index 55719200098..476891644d7 100644 --- a/addons/web_graph/static/src/js/pivot_table.js +++ b/addons/web_graph/static/src/js/pivot_table.js @@ -65,7 +65,7 @@ openerp.web_graph.PivotTable = openerp.web.Class.extend(openerp.EventDispatcherM var index = this.measures.indexOf(current_measure); this.measures = _.without(this.measures, current_measure); if (this.measures.length === 0) { - this.nodata = true; + this.no_data = true; } else { _.each(this.cells, function (cell) { cell.values.splice(index, 1); -- cgit v1.2.3