From fff2660c0c052db00532c434509df8ee488512ce Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 7 Jul 2014 14:58:12 +0200 Subject: [PATCH] [FIX] web_diagram: don't try to load raphael.js lib. The lib is already loaded in the js asset --- addons/web_diagram/static/src/js/diagram.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/addons/web_diagram/static/src/js/diagram.js b/addons/web_diagram/static/src/js/diagram.js index 34dc5e084c7..77876c9dc52 100644 --- a/addons/web_diagram/static/src/js/diagram.js +++ b/addons/web_diagram/static/src/js/diagram.js @@ -24,15 +24,6 @@ instance.web.DiagramView = instance.web.View.extend({ this.ids = this.dataset.ids; this.on('pager_action_executed', self, self.pager_action_trigger); }, - start: function () { - return this._super().then(function () { - return $.when( - openerp.webclient.session.load_js(['/web/js/web_diagram.assets_raphael']) - ); - }).fail(function () { - throw new Error("Could not load raphael.js"); - }); - }, view_loading: function(r) { return this.load_diagram(r);