diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-17 12:01:52 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-17 12:01:52 +0100 |
| commit | feaade623ab11807b837dbf392608f9df25dd930 (patch) | |
| tree | 2c069e41c2327dcbf4906ddd72770dc0137d30e0 /addons/web/controllers/main.py | |
| parent | 39d514678cdf26fb131745c2d733bcd202b1b0cf (diff) | |
[imp] put openerp into body
bzr revid: nicolas.vanhoren@openerp.com-20120217110152-x66rfhyfkqao04k0
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 3fbb943342f..2fa9a38a82b 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -104,12 +104,11 @@ html_template = """<!DOCTYPE html> $(function() { var s = new openerp.init(%(modules)s); var wc = new s.web.WebClient(); - wc.$element = $(document.body); - wc.start(); + wc.appendTo($(document.body)); }); </script> </head> - <body class="openerp" id="oe"></body> + <body></body> </html> """ |
