wifi_add: show the SSID of the network being joined.
authorKarl Palsson <karlp@etactica.com>
Wed, 7 Sep 2016 16:37:13 +0000 (16:37 +0000)
committerKarl Palsson <karlp@etactica.com>
Fri, 23 Sep 2016 17:05:40 +0000 (17:05 +0000)
After clicking the "join" button on the scan list, the SSID is no longer
visible, though it's kept in the form to pass to the server.

Show the chosen SSID on the top of the page, to help people confirm that
they're joining the right network.

Signed-off-by: Karl Palsson <karlp@etactica.com>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua

index 96b8b4d740113a7dd0733f105c49febbd44a0e74..d64d667a4dd983dc59cd944a497a3d69791c92b4 100644 (file)
@@ -16,7 +16,7 @@ if not iw then
        return
 end
 
-m = SimpleForm("network", translate("Join Network: Settings"))
+m = SimpleForm("network", translate("Joining Network: %q", http.formvalue("join")))
 m.cancel = translate("Back to scan results")
 m.reset = false