From d694b17804eb002a3333320c637cb5393252d8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 15 Mar 2018 00:25:51 +0100 Subject: [PATCH] Create explicitly the tbody for the table of the Form Container issue7209 review37081002 --- src/view/form.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view/form.js b/src/view/form.js index 0c4ab05e8f..060cfda533 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -463,6 +463,7 @@ function eval_pyson(value){ this.el = jQuery('', { 'class': 'form-container responsive responsive-noheader' }); + this.body = jQuery('').appendTo(this.el); if (this.col <= 0) { this.el.addClass('form-hcontainer'); } else if (this.col == 1) { @@ -471,10 +472,10 @@ function eval_pyson(value){ this.add_row(); }, add_row: function() { - this.el.append(jQuery('')); + this.body.append(jQuery('')); }, rows: function() { - return this.el.children().children('tr'); + return this.body.children('tr'); }, row: function() { return this.rows().last();