Increase display size only once per more row
This ensures that the growing rate between display size and rows is the same. Closes #13972 (grafted from c8cfddd30e18453eea57dca6d80fcc7b992cb61e) --HG-- branch : 6.0
This commit is contained in:
1 parent
2d27018972
commit
b488c2f7bb
1 file changed
+2
-1
@@ -763,7 +763,8 @@
|
||||
'class': 'btn btn-default btn-block',
|
||||
'type': 'button'
|
||||
}).text(Sao.i18n.gettext('More')
|
||||
).click(function() {
|
||||
).one('click', function() {
|
||||
this.tbody.find('tr.more-row').remove();
|
||||
var height = this.table.height();
|
||||
this.display_size += Sao.config.display_size;
|
||||
this.display();
|
||||
|
||||
Reference in new issue
Block a user