[FIX] web_diagram: don't try to load raphael.js lib. The lib is already loaded in the js asset
This commit is contained in:
parent
cd7e9a98d4
commit
fff2660c0c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue