From 47ca3495b2c7f583cabd6ffd08e5bc7e862c5275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 28 Apr 2023 12:53:04 +0200 Subject: [PATCH] Do not add multiple times a more row (grafted from 0172717f00343da444594ba330bc3c2e1b275212) --HG-- branch : 6.0 --- sao/src/view/tree.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sao/src/view/tree.js b/sao/src/view/tree.js index 604f455717..b2a8f74889 100644 --- a/sao/src/view/tree.js +++ b/sao/src/view/tree.js @@ -754,7 +754,8 @@ }).map(function(row) { return row.el; })); - if (this.display_size < this.group.length) { + if ((this.display_size < this.group.length) && + (!this.tbody.children().last().hasClass('more-row'))) { var more_row = jQuery('', { 'class': 'more-row', });