Prepend tfoot before thead

The dropdown from thead must be above the tfoot.

issue11920
review443971003
This commit is contained in:
Cédric Krier
2022-12-10 00:42:52 +01:00
parent af5bdbd3eb
commit 8eb1e9ca0f
+2 -1
View File
@@ -200,7 +200,8 @@
sum_row.append(jQuery('<th/>'));
this.tfoot = jQuery('<tfoot/>');
this.tfoot.append(sum_row);
this.table.append(this.tfoot);
// insert before thead to not hide drop-down from thead
this.table.prepend(this.tfoot);
}
if (this.children_field) {