luci-base: handleSort and UITable.update fix
authorPaul Donald <redacted>
Thu, 19 Feb 2026 23:56:43 +0000 (00:56 +0100)
committerPaul Donald <redacted>
Fri, 20 Feb 2026 00:29:43 +0000 (01:29 +0100)
commita8db14e2cfe1d35128e3253b2956706f197340a6
tree4b22364e16a3747ea7454643f92688a5af24acb9
parent39ce4bbc944af70a7a4ac6956c915a5c68b17e49
luci-base: handleSort and UITable.update fix

Generated rows for a table need to land in the tbody
so make UITable.update align with this.

follow-up to 2da63d766a765ecae80a1d0a9849fb5f8c5aebb5

The mentioned commit restructured tables. Update sorting
to align with this. Otherwise window.requestAnimationFrame
puts sorted rows in the table element.

Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js
modules/luci-base/htdocs/luci-static/resources/ui.js
git clone https://git.99rst.org/PROJECT