diff --git a/luasrc/model/cbi/easymesh.lua b/luasrc/model/cbi/easymesh.lua index 3381ebf..76b9d7a 100755 --- a/luasrc/model/cbi/easymesh.lua +++ b/luasrc/model/cbi/easymesh.lua @@ -163,7 +163,7 @@ o:depends({ipmode="static",role="off",role="client"}) o = s:taboption("apmode", Value, "dns", translate("DNS Server")) o.default = "192.168.70.1" o.datatype = "ip4addr" -o:depends({ipmode="static",role="off"role="client"}) +o:depends({ipmode="static",role="off",role="client"}) btnAPMode = s:taboption("apmode", Button, "_btn_apmode", translate("Enable Dumb AP Mode"), translate("WARNING: THIS WILL CHANGE THIS NODE'S IP ADDRESS, YOU WILL LOOSE ACCESS TO THIS UI")) function btnAPMode.write()