git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
985d454
)
luci-base: widgets: fix const -> let variable which is later reassigned
author
Paul Donald
<redacted>
Fri, 24 Oct 2025 15:30:39 +0000
(17:30 +0200)
committer
Paul Donald
<redacted>
Fri, 24 Oct 2025 15:41:25 +0000
(17:41 +0200)
Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
index 311803feb2191d09d268480bf36e405c397ed11f..98fc6502f56e706d02d8d486070f0146a5876804 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
@@
-190,7
+190,7
@@
var CBIZoneSelect = form.ListValue.extend({
}
else {
const anyval = node.querySelector('[data-value="*"]') || '';
-
cons
t emptyval = node.querySelector('[data-value=""]') || '';
+
le
t emptyval = node.querySelector('[data-value=""]') || '';
if (emptyval == null && anyval) {
emptyval = anyval.cloneNode(true);
git clone https://git.99rst.org/PROJECT