Skip to content
Commit 90f9c59a authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-admin-full: properly reset internal device form field



In some cases the hidden internal device field was not reset, e.g. after
aborting a wifi scan and using the browser back buttons to navigate to the
overview page again.

In such a case, the previous device hidden field was still present and a new
one getting created, causing further wireless scan attempts to get invoked
with multiple radio names as parameter which fails.

Fix this issue by using the new generic cbi_submit() helper any by dropping
the faulty wifi_action() function.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent c09e1545
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment