summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-01-14 10:27:24 +0100
committerGery Debongnie <ged@openerp.com>2014-01-14 10:27:24 +0100
commitde85a1cefb2d62aae5a4a29295dcf36b6c545ad6 (patch)
treee45b2ac35e908f5f94fd5bbb8c2fd50db1de7df6 /addons/web_graph/static/src/js/graph.js
parent4d550e963ea07da045bcb8f68ec4fad5fc7b591d (diff)
[REF] adds comments and reorganize the functions in PivotTable class (addon web_graph)
bzr revid: ged@openerp.com-20140114092724-z534vyceksc4dnr2
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index f39f0574e9b..0259b4bcf73 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -340,9 +340,7 @@ instance.web_graph.Graph = instance.web.Widget.extend(openerp.EventDispatcherMix
this.pivot.swap_axis();
break;
case 'expand_all':
- this.pivot.rows.headers = null;
- this.pivot.cols.headers = null;
- this.pivot.update_data();
+ this.pivot.expand_all();
break;
case 'update_values':
this.pivot.update_data();