diff options
| author | Christophe Simonis <chs@openerp.com> | 2012-07-19 13:14:14 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2012-07-19 13:14:14 +0200 |
| commit | dccbf4fa818d0c3a61d4e838bf12c396a22848cd (patch) | |
| tree | 0c45148644d65dd53b2ec86057a145649def308b /addons/web/static/src/js/boot.js | |
| parent | d680c7597f3c7b96498e36028bfbcc04300cfe10 (diff) | |
[FIX] Client must do the session_bind
bzr revid: chs@openerp.com-20120719111414-ivf6lq2iymws0ytm
Diffstat (limited to 'addons/web/static/src/js/boot.js')
| -rw-r--r-- | addons/web/static/src/js/boot.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index 9f426ee787c..c1b1b984abe 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -21,7 +21,7 @@ * * @param {Array} modules list of modules to initialize */ - init: function(modules, origin) { + init: function(modules) { // By default only web will be loaded, the rest will be by loaded // by openerp.web.Session on the first session_authenticate modules = _.union(['web'], modules || []); @@ -39,9 +39,6 @@ for(var i=0; i < modules.length; i++) { openerp[modules[i]](new_instance,new_instance[modules[i]]); } - new_instance.connection.synchronized_mode(function() { - new_instance.connection.session_bind(origin); - }); return new_instance; } }; |
