diff options
Diffstat (limited to 'addons/web/static/src/js/chrome.js')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 3c8e1e0956a..db3cb69519f 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1,7 +1,11 @@ /*--------------------------------------------------------- * OpenERP Web chrome *---------------------------------------------------------*/ -openerp.web.chrome = function(instance) { +(function() { + +var instance = openerp; +openerp.web.chrome = {}; + var QWeb = instance.web.qweb, _t = instance.web._t; @@ -1619,6 +1623,6 @@ instance.web.embed = function (origin, dbname, login, key, action, options) { client.insertAfter(currentScript); }; -}; +})(); // vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax: |
