summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-17 12:15:01 +0100
committerGery Debongnie <ged@openerp.com>2013-12-17 12:15:01 +0100
commitde51e3c35a4ada3bc29c3de2abd371e43569f814 (patch)
treebefd63a0f510f741339d9822c8596be15f8d0bac /addons/web_graph/static/src/js/graph.js
parent65642c8c065c322be1cb671dbc7b1aac1a6f4e54 (diff)
[REF] moves more code to dataLoader class to simplify pivot class (clean separation between pivot code and loading code) (addon web_graph)
bzr revid: ged@openerp.com-20131217111501-wu0nbid36bncy4wz
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 8433e560cfd..912f56e79fc 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -163,7 +163,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
display_data: function () {
var pivot = this.pivot_table;
if (pivot.stale_data) {
- pivot.load_data().done(this.proxy('display_data'));
+ pivot.update_data().done(this.proxy('display_data'));
} else {
this.$('.graph_main_content svg').remove();
this.table.empty();