From: Karl Palsson Date: Wed, 7 Sep 2016 16:37:13 +0000 (+0000) Subject: wifi_add: show the SSID of the network being joined. X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=0bea4d17e6fa82c723dd7b5db4b9081f9c4407ce wifi_add: show the SSID of the network being joined. 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 --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua index 96b8b4d74..d64d667a4 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua @@ -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