diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-03-13 20:41:32 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-03-13 20:41:32 +0100 |
| commit | aea6b6fafcc781db2b4bf279a5d42fe5c172ab77 (patch) | |
| tree | 3b1b0d58c618ea242e072f1013206bfc04f60e6f /addons/web/static/src | |
| parent | a5be5c2438228f76804ab791463c5a02d046fa68 (diff) | |
[FIX] Fix groups layouting
bzr revid: fme@openerp.com-20120313194132-30zdh9kepccsjog4
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 1f81ee0d331..7a254d87302 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -1181,8 +1181,7 @@ openerp.web.form.WidgetGroup = openerp.web.form.Widget.extend({ row_cols = cols; $(this.node).children().each(function() { - var $tr, - $child = $(this), + var $child = $(this), colspan = parseInt($child.attr('colspan') || 1, 10); if ($child[0].tagName.toLowerCase() === 'newline') { $tr = null; |
