diff options
Diffstat (limited to 'addons/web_graph/static/src/js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 282822d6cba..35ad0aaaea8 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -42,7 +42,9 @@ instance.web_graph.GraphView = instance.web.View.extend({ this.group_by = []; this.graph = null; - this.on('view_loaded', self, self.load_graph); + }, + view_loading: function(r) { + return this.load_graph(r); }, destroy: function () { if (this.graph) { |
