projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a149076
)
luci-base: network.js: gracefully handle missing wireless config
author
Jo-Philipp Wich
<jo@mein.io>
Sat, 11 Apr 2020 19:24:21 +0000
(21:24 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000
(19:40 +0200)
Ref: https://github.com/openwrt/luci/issues/3895
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
65d673f4671215f2907baebc8d6860f64ba13307
)
modules/luci-base/htdocs/luci-static/resources/network.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/network.js
b/modules/luci-base/htdocs/luci-static/resources/network.js
index 34a802fdfdb0fc7660949e24ba48d180adf2af71..ae22a2e78b7081bbb82e3b8fd554e332b73b62b1 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/network.js
@@
-356,7
+356,7
@@
function initNetworkState(refresh) {
L.resolveDefault(callLuciWirelessDevices(), {}),
L.resolveDefault(callLuciHostHints(), {}),
getProtocolHandlers(),
-
uci.load(['network', 'wireless', 'luci']
)
+
L.resolveDefault(uci.load(['network', 'wireless', 'luci'])
)
]).then(function(data) {
var netifd_ifaces = data[0],
board_json = data[1],