modules/admin-full: correctly update title on wifi config page

This commit is contained in:
Jo-Philipp Wich 2010-10-30 02:34:20 +00:00
parent 2b7ba80b8a
commit b9dfdb9d0d

View file

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