diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-17 15:02:13 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-17 15:02:13 +0100 |
| commit | aeebcf3dccbd1adfdb4fd62e29043449ef96c603 (patch) | |
| tree | 87f4b11036fd154eb59407ad34bd395573f7ba38 /addons/web/controllers/main.py | |
| parent | 7d305cbbee66251870e825cd44a99a57a41f407c (diff) | |
[FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body:
bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 7b2ad5b311c..b0a12802db4 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -99,7 +99,7 @@ html_template = """<!DOCTYPE html> }); </script> </head> - <body></body> + <body class="openerp" id="oe"></body> </html> """ @@ -207,7 +207,7 @@ class WebClient(openerpweb.Controller): 'js': js, 'css': css, 'modules': simplejson.dumps(self.server_wide_modules(req)), - 'init': 'new s.web.WebClient().replace($("body"));', + 'init': 'new s.web.WebClient().start();', } return r |
