summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index 2fc2f09632..513256e4c9 100644
--- a/modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/modules/luci-base/htdocs/luci-static/resources/cbi.js
@@ -773,7 +773,7 @@ function cbi_update_table(table, data, placeholder) {
trows[n] = trow;
});
- for (var i = 1; i < n; i++) {
+ for (var i = 1; i <= n; i++) {
if (rows[i])
target.replaceChild(trows[i], rows[i]);
else