luci-mod-network: fix device section cleanup
authorJo-Philipp Wich <jo@mein.io>
Mon, 29 Mar 2021 20:33:35 +0000 (22:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 29 Mar 2021 20:35:50 +0000 (22:35 +0200)
commit2072c66c5a4b755a6ed16bb6486afb956a475be9
tree0bf444f1e1384be32a80a525bbba55b4130a32c6
parentba4e214160619e27b88a3929c76a1a01c9c1b1e2
luci-mod-network: fix device section cleanup

Ensure that device sections are only automatically removed after all
related options have been parsed, to avoid prematurely deleting sections.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js