Skip to content

Commit cb085c7

Browse files
committed
luci-base: load luci preferences early
Follow-up to 315dbfc Signed-off-by: Paul Donald <newtwen+github@gmail.com>
1 parent 22c6f45 commit cb085c7

File tree

1 file changed

+2
-0
lines changed
  • modules/luci-base/htdocs/luci-static/resources

1 file changed

+2
-0
lines changed

modules/luci-base/htdocs/luci-static/resources/form.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
const scope = this;
99

10+
uci.loadPackage('luci').catch();
11+
1012
const callSessionAccess = rpc.declare({
1113
object: 'session',
1214
method: 'access',

0 commit comments

Comments
 (0)