aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-12-01 15:13:02 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-12-01 15:13:02 -0800
commit1c6d909c3b8c1687c8af4ddd89b21fee0b9d1d0a (patch)
tree5a02cd684914229c09251b7a0e06937426842853
parent5e2ba5538d300afad5aec1f86878a00739605790 (diff)
downloadasterisk-aastra-1c6d909c3b8c1687c8af4ddd89b21fee0b9d1d0a.tar.gz
BaseList: fix page traversal on 6739i
The 6739i doesn't necessarily work with scrollup/scrolldown so add softkeys to page through the list Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--include/BaseList.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/BaseList.class.php b/include/BaseList.class.php
index f2cd743..c60f97a 100644
--- a/include/BaseList.class.php
+++ b/include/BaseList.class.php
@@ -39,9 +39,11 @@ class BaseList extends TextScreen {
}
$this->setStyle('none');
if ($up) {
+ $this->addSoftKey(1, 'Prev', $up);
$this->setScrollUp($up);
}
if ($down) {
+ $this->addSoftKey(2, 'Next', $down);
$this->setScrollDown($down);
}
if (isset($_GET['index'])) {