diff options
author | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-11 15:10:54 +0200 |
---|---|---|
committer | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-11 15:10:54 +0200 |
commit | 257cf1fc34e3054ec5b5926fba2199200dbbc442 (patch) | |
tree | 4dacdb6e94dcf58c82383cba3ad6be54e1ba1d3f /settings/users.php | |
parent | a0db01ecd3f10476751eea258176ef742bbdacd3 (diff) | |
download | nextcloud-server-257cf1fc34e3054ec5b5926fba2199200dbbc442.tar.gz nextcloud-server-257cf1fc34e3054ec5b5926fba2199200dbbc442.zip |
Page size calculation based on real page height
This is fix for https://github.com/owncloud/core/issues/10060
Instead of hard coding page size as 20 items, we check real page height, and divide by 50 (height of one row).
This will allow to load fewer items on small screens and enough items on large screens (4k, portrait orientation, etc.).
Also checking page height on every load to respond on browser window resizing,
Diffstat (limited to 'settings/users.php')
0 files changed, 0 insertions, 0 deletions