luci-app-unbound: additional fixes
authorPaul Donald <redacted>
Fri, 13 Mar 2026 12:53:34 +0000 (13:53 +0100)
committerPaul Donald <redacted>
Fri, 13 Mar 2026 12:53:34 +0000 (13:53 +0100)
follow-up to e08008cecacf3cafe18d1c4e80a682d306dfe178

rename variables which re-assign the previous
form.Value entry.

Signed-off-by: Paul Donald <redacted>
applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/configure.js

index d8e2da471988688e3441adc399797ffe2b567b59..94321b7a654daf9f4c9cbe1910f28973ea089bf0 100644 (file)
@@ -271,8 +271,8 @@ return view.extend({
                        tlm.placeholder = '120';
 
                        const tlnm = s.taboption('resource', form.Value, 'ttl_neg_max', _('TTL Neg Max'));
-                       tlm.datatype = 'and(uinteger,min(0),max(1200))';
-                       tlm.placeholder = '1000';
+                       tlnm.datatype = 'and(uinteger,min(0),max(1200))';
+                       tlnm.placeholder = '1000';
 
                        const rtt = s.taboption('resource', form.Value, 'rate_limit', _('Query Rate Limit'),
                                _('Prevent client query overload; zero is off'));
git clone https://git.99rst.org/PROJECT