Skip to content
Unverified Commit ae47a510 authored by Ansuel Smith's avatar Ansuel Smith
Browse files

luci-mod-network: use createHanleFn for handleJoin function



handleJoin can be slow to parse all the data and show the new modal, this can result in the disappear of the scan modal and the showing of the wifi config page while the data are generating. This is wrong since a user can think that he did something wrong. Fix this by using the createHandleFn and by removing the scan pool function instead of calling ScanAbort function that with the other thing wrongly removes the Scan modal. (the modal is replaced with the add one when all the data are ready)

Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
parent 1da9df83
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