Do not add multiple times a more row

(grafted from 0172717f00343da444594ba330bc3c2e1b275212)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2023-04-28 12:53:04 +02:00
1 parent b0b6b6c4a4
commit 47ca3495b2
1 file changed
+2 -1
+2 -1
View File
@@ -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('<tr/>', {
'class': 'more-row',
});