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 6568c76..87f7d8e 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
        local wnet = nw:get_wifinet(arg[2])
        if ifsection and wnet then
                ifsection.section = wnet.sid
+               m.title = wnet:get_i18n()
        end
 end
 
        end
 end