From: Paul Donald Date: Tue, 3 Feb 2026 21:39:42 +0000 (+0100) Subject: luci-base: load luci preferences early X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cb085c73ddd5bc86da7bbe938b33022ebe288e4d;p=openwrt-luci.git luci-base: load luci preferences early Follow-up to 315dbfc7498e2f43afb0119b992915e8f311bc37 Signed-off-by: Paul Donald --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 084fa353e7..e9e71f8371 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -7,6 +7,8 @@ const scope = this; +uci.loadPackage('luci').catch(); + const callSessionAccess = rpc.declare({ object: 'session', method: 'access',