summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-16 15:49:35 +0100
committerGery Debongnie <ged@openerp.com>2013-12-16 15:49:35 +0100
commitc256cd4f14d1f1cde45f5eecdd705fe758295b4d (patch)
treedfc30e38c0bcafd82f9f7b9f705dc3a03e52fa8f /addons/web_graph/static/src/js/graph.js
parenta22648c083e6fc9ef5170a6458bb52da5123faa6 (diff)
[REF] merges update_data and query_all_values method into load_data, to simplify code (addon web_graph)
bzr revid: ged@openerp.com-20131216144935-2ur7pgk7ml2064j0
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 912f56e79fc..8433e560cfd 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.update_data().done(this.proxy('display_data'));
+ pivot.load_data().done(this.proxy('display_data'));
} else {
this.$('.graph_main_content svg').remove();
this.table.empty();