Increase display size only once per more row

This ensures that the growing rate between display size and rows is the same.

Closes #13972
This commit is contained in:
Cédric Krier
2025-04-14 09:52:31 +02:00
parent 5b01323986
commit e7fb100d8f
+2 -1
View File
@@ -1118,7 +1118,8 @@
'type': 'button',
'title': Sao.i18n.gettext("More"),
}).text(Sao.i18n.gettext('More')
).click(() => {
).one('click', () => {
this.tbody.find('tr.more-row').remove();
var height = this.table.height();
this.display_size += Sao.config.display_size;
this.display();