luci-base: load luci preferences early
authorPaul Donald <redacted>
Tue, 3 Feb 2026 21:39:42 +0000 (22:39 +0100)
committerPaul Donald <redacted>
Wed, 4 Feb 2026 00:50:38 +0000 (01:50 +0100)
Follow-up to 315dbfc7498e2f43afb0119b992915e8f311bc37

Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js

index 084fa353e75e4417a0089059e69ad413f280589d..e9e71f8371e73efc5489ebd74242a595d36bdc8a 100644 (file)
@@ -7,6 +7,8 @@
 
 const scope = this;
 
+uci.loadPackage('luci').catch();
+
 const callSessionAccess = rpc.declare({
        object: 'session',
        method: 'access',
git clone https://git.99rst.org/PROJECT