modules/admin-full: correctly update title on wifi config page
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 30 Oct 2010 02:34:20 +0000 (02:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 30 Oct 2010 02:34:20 +0000 (02:34 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 6568c7618dc77a2ae6766e025430a51aec9c25ed..87f7d8ef07df95e933413f2d3ec76070627fc82c 100644 (file)
@@ -33,6 +33,7 @@ function m.on_commit(map)
        local wnet = nw:get_wifinet(arg[2])
        if ifsection and wnet then
                ifsection.section = wnet.sid
+               m.title = wnet:get_i18n()
        end
 end