summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-30 02:34:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-30 02:34:20 +0000
commitb9dfdb9d0db4463a168a22293cb4c48fb92823c5 (patch)
tree8c294a25fb231f5bc093c261064f0f4cdd4a84da /modules/admin-full/luasrc/model
parent2b7ba80b8a441356f3b1b3a51cc120843c6c1b68 (diff)
modules/admin-full: correctly update title on wifi config page
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 6568c7618d..87f7d8ef07 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -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