diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-03-27 13:02:12 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-03-27 13:02:12 +0200 |
| commit | 53c88a671c70a4e04c6f36b1e537c3103d65e8a1 (patch) | |
| tree | 329bbec98801d621695abefd33d28547b25d8bbb /addons/web/static/src | |
| parent | cd7ee557191acb2e82a2b8736cec24cf31949411 (diff) | |
[FIX] Wrap xml into a div
jquery eats up <html> tags
bzr revid: fme@openerp.com-20120327110212-821anzbjvg2ula3q
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 32797273b22..972821e5e02 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -754,7 +754,7 @@ openerp.web.FormRenderingEngine = openerp.web.Class.extend({ // TODO: I know this will save the world and all the kitten for a moment, // but one day, we will have to get rid of xml2json var xml = openerp.web.json_node_to_xml(this.fvg.arch); - this.$form = $(xml); + this.$form = $('<div>' + xml + '</div>'); this.to_init = []; this.process(this.$form); |
