From e4ba8ea5bc16ffd0a324ac50492277c9926329c6 Mon Sep 17 00:00:00 2001 From: Florrie Date: Mon, 8 Apr 2019 10:47:23 -0300 Subject: Fix listing index not being updated correctly Actually it wasn't being updated at all. We need to pass an element to selectInput, not an index! --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.js b/ui.js index 1ada92e..72079ae 100644 --- a/ui.js +++ b/ui.js @@ -1159,7 +1159,7 @@ class GrouplikeListingElement extends Form { if (wasSelected) { if (resetIndex) { form.scrollItems = 0 - form.selectInput(form.firstItemIndex) + form.selectInput(form.inputs[form.firstItemIndex]) } else { this.root.select(form) } -- cgit 1.3.0-6-gf8a5