diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-11-11 19:55:18 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-11-16 13:06:03 +0100 |
commit | de4c4f7fd445e7a59691e50edead472900270e59 (patch) | |
tree | 9f8a97111a15ea9c82507afcc2c5ae2b0a6c374c /modules/luci-base/htdocs/luci-static/resources | |
parent | 75c6251c6eacf06888cac68d11b6197669c8a990 (diff) |
luci-base: luci.js: fix undefined variable access in Request.request()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/luci.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 5699c9eb92..fcab3a4018 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -764,7 +764,7 @@ if (opt.content != null) { switch (typeof(opt.content)) { case 'function': - content = opt.content(xhr); + content = opt.content(opt.xhr); break; case 'object': |