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:
bfcd962
)
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>
Sat, 11 Apr 2020 19:26:16 +0000
(21:26 +0200)
Ref: https://github.com/openwrt/luci/issues/3895
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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 bca67849b43e28d80f676289c5152665244c0712..c51db25eaa9e56e3207680cd4c4061fa14ae199f 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],