4035ff415dc8a3b8960ddbbda22e0618fc5ce74a
[project/luci.git] / modules / niu / luasrc / model / cbi / niu / network / wlanwanscan.lua
1 local t = Template("niu/network/wlanwanscan")
2 function t.parse(self, ...)
3         local state = Template.parse(self, ...)
4         if Map.formvalue({readinput = true}, "cbi.delg.back") then
5                 return FORM_SKIP
6         end 
7         if state == FORM_NODATA then
8                 self.delegator.disallow_pageactions = true
9         end
10         return state
11 end
12 return t