diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-07-29 11:25:12 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-07-29 11:25:12 +0200 |
| commit | 22ac3304e1e29699db3b9068d1a417a269ec944a (patch) | |
| tree | 5dafdc42f6998e2cf0965ee318bf142e5c6c7bfd /addons/web/static/src/js/coresetup.js | |
| parent | 4157b860bc11aa4a882539761863fd67cb7929ee (diff) | |
Added strict mode and es3 mode to framework and corrected some problems
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
Diffstat (limited to 'addons/web/static/src/js/coresetup.js')
| -rw-r--r-- | addons/web/static/src/js/coresetup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index 7ff082edcce..c8deca1c9ac 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -253,7 +253,7 @@ instance.web.Session = instance.web.JsonRPC.extend( /** @lends instance.web.Sess var fct = instance._openerp[mod]; if(typeof(fct) === "function") { instance._openerp[mod] = {}; - for (k in fct) { + for (var k in fct) { instance._openerp[mod][k] = fct[k]; } fct(instance, instance._openerp[mod]); |
