changeset 8006a6158ec2 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=8006a6158ec2
description:
Prepend tfoot before thead
The dropdown from thead must be above the tfoot.
issue11920
review443971003
diffstat:
src/view/tree.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 1292440fdbf7 -r 8006a6158ec2 src/view/tree.js
--- a/src/view/tree.js Fri Nov 25 12:34:34 2022 +0100
+++ b/src/view/tree.js Sat Dec 10 00:42:52 2022 +0100
@@ -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) {