diff options
Diffstat (limited to 'addons/web/static/src/js/boot.js')
| -rw-r--r-- | addons/web/static/src/js/boot.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index f84a1d95d72..48b19f29971 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -36,7 +36,6 @@ if (inited) throw new Error("OpenERP was already inited"); inited = true; - init_web_modules(); for(var i=0; i < modules.length; i++) { if (modules[i] === "web") continue; @@ -53,22 +52,5 @@ return openerp; } }); - - /*--------------------------------------------------------- - * OpenERP Web web module split - *---------------------------------------------------------*/ - function init_web_modules() { - var files = ["pyeval","core","dates","formats","chrome","data","views","search","list","form","list_editable","web_mobile","view_tree","data_export","data_import"]; - for(var i=0; i<files.length; i++) { - var fct = openerp.web[files[i]]; - if(typeof(fct) === "function") { - openerp.web[files[i]] = {}; - for (var k in fct) { - openerp.web[files[i]][k] = fct[k]; - } - fct(openerp, openerp.web[files[i]]); - } - } - } })(); |
