diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-11-21 15:43:20 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-11-21 15:43:20 +0100 |
| commit | 9f9a2996f69b8f2342f30789996c7353dcf77934 (patch) | |
| tree | 28b8602c078305d98d26db27d193eeda4e1d64e9 /addons/web/static/src/js/coresetup.js | |
| parent | 4b007e15218a1abe9eef249bf8fb6d0b9570cf7a (diff) | |
[FIX] __debug__ key wrongly set in QWeb default_dict
bzr revid: fme@openerp.com-20121121144320-mzgynprxpq1jlxey
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 7ddefa301f2..8b12f39c5e4 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -543,12 +543,12 @@ instance.web._lt = function (s) { return {toString: function () { return instance.web._t(s); }} }; instance.web.qweb = new QWeb2.Engine(); -instance.web.qweb.default_dict['__debug__'] = instance.session.debug; // Which one ? instance.web.qweb.debug = instance.session.debug; instance.web.qweb.default_dict = { '_' : _, '_t' : instance.web._t, 'JSON': JSON, + '__debug__': instance.session.debug, }; instance.web.qweb.preprocess_node = function() { // Note that 'this' is the Qweb Node |
