mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
get more events on page down or up when needed
when we page up or down, check if we've moved into the upper or lower threshold of the scrollbar and request more events to show if we have.
This commit is contained in:
parent
d4f50896de
commit
90f7e9375f
@ -422,10 +422,18 @@ function menuLast () {
|
||||
|
||||
function down () {
|
||||
scroll.moveDown();
|
||||
|
||||
if (scroll.isBeyondLowerThreshold()) {
|
||||
next();
|
||||
}
|
||||
}
|
||||
|
||||
function up () {
|
||||
scroll.moveUp();
|
||||
|
||||
if (scroll.isBeyondUpperThreshold()) {
|
||||
previous();
|
||||
}
|
||||
}
|
||||
|
||||
function togglePanelExpand () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user