luci-base: fix off-by-one in cbi_update_table()
authorJo-Philipp Wich <jo@mein.io>
Thu, 15 Jul 2021 06:13:31 +0000 (08:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Jul 2021 06:13:31 +0000 (08:13 +0200)
commit7d9ab8d4a741cbc97e9553982e9e352b21ddf5f3
tree7a46565a1ca34663fc983dcacff8a6ad15ffc30b
parentb178a33018dbf791165b8d153aa1a9613aa653b7
luci-base: fix off-by-one in cbi_update_table()

Fixes: #5189
Fixes: f919635310 ("luci-base: batch DOM updates to prevent slowdown")
Ref: https://github.com/openwrt/luci/commit/f919635310286b3b905aedb716d707da1ea2c811#commitcomment-53495580
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js