[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:
Christophe Matthieu 2014-07-07 14:58:12 +02:00
parent cd7e9a98d4
commit fff2660c0c
1 changed files with 0 additions and 9 deletions

View File

@ -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);