luci-base: fix refresh in initNetworkState
authorPaul Donald <redacted>
Thu, 19 Feb 2026 00:50:37 +0000 (01:50 +0100)
committerPaul Donald <redacted>
Thu, 19 Feb 2026 00:50:37 +0000 (01:50 +0100)
commitc1f55dd43ae476f17cbdb8615349a4c90d640590
tree01f44f99b0473689894562062ee83c5b1e011419
parenta8c9b694c8eefeca3a8e428a7a2f2d448fc83bdf
luci-base: fix refresh in initNetworkState

Stale state is kept around due to the _init = _init
(re)assignment, and this assignment prevents a refresh.

After running everything through testing, I also
found uci.delete -> uci.remove. I could completely remove
both deleteWifiNetwork functions and still delete
networks, suggesting these go unused. There are no
other references to them anywhere...

Add also pse property, as a follow-up to
8e493db75a80194a1f76ded11df4dbf32f1235d1

Signed-off-by: Paul Donald <redacted>
modules/luci-base/htdocs/luci-static/resources/network.js
git clone https://git.99rst.org/PROJECT