projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c6251
)
luci-base: luci.js: fix undefined variable access in Request.request()
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 11 Nov 2021 18:55:18 +0000
(19:55 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 16 Nov 2021 12:06:03 +0000
(13:06 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/luci.js
b/modules/luci-base/htdocs/luci-static/resources/luci.js
index 5699c9eb92651c0982d9b06f24fcd1031b20ad85..fcab3a4018542190c8776495924d11170fb3dd0c 100644
(file)
--- 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':