summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_form.js
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-03-28 16:37:20 +0200
committerAntony Lesuisse <al@openerp.com>2012-03-28 16:37:20 +0200
commitc2f7961915ae46d52a898e615e9cfb72504ee5fd (patch)
tree8c762527b1408434ce4c492d71e37a335e714738 /addons/web/static/src/js/view_form.js
parent4f3ed6b677a4af16d16604f39f647749dc9804a8 (diff)
css part2
bzr revid: al@openerp.com-20120328143720-tcgbovoukqsyerxc
Diffstat (limited to 'addons/web/static/src/js/view_form.js')
-rw-r--r--addons/web/static/src/js/view_form.js2
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 f297446fd37..8752baee738 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -837,7 +837,7 @@ openerp.web.FormRenderingEngine = nova.Class.extend({
},
process_form: function($form) {
var $new_form = this.render_element('FormRenderingForm', $form.getAttributes());
- $dst = this.legacy_mode ? $new_form.find('group:first') : $new_form;
+ var $dst = this.legacy_mode ? $new_form.find('group:first') : $new_form.children();
$new_form.attr("modifiers", $form.attr("modifiers"));
$form.children().appendTo($dst);
if ($form[0] === this.$form[0]) {