From cb085c73ddd5bc86da7bbe938b33022ebe288e4d Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 3 Feb 2026 22:39:42 +0100 Subject: [PATCH] luci-base: load luci preferences early Follow-up to 315dbfc7498e2f43afb0119b992915e8f311bc37 Signed-off-by: Paul Donald --- modules/luci-base/htdocs/luci-static/resources/form.js | 2 ++ 1 file changed, 2 insertions(+) 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',