summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/model/cbi
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-01-03 09:19:46 +0100
committerDirk Brenken <dev@brenken.org>2018-01-03 09:19:46 +0100
commita4e05483b1c4cb9973d78e3a8312023ee0be5262 (patch)
tree13693b422ad6ea8afc13e295bcc9c0d481d96bfc /applications/luci-app-travelmate/luasrc/model/cbi
parent8f5604ee9e24c33dc53be979b73f28c712570bca (diff)
luci-app-travelmate: sync with 1.0.1
* LuCI: BSSID will be ignored by default in 'wireless add' dialog * LuCI: Textarea 'autoscroll down' in logfile view * LuCI: refine logfile search term Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model/cbi')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
index a3dd0a2b9..1e8bd7ec6 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
@@ -1,4 +1,4 @@
--- Copyright 2017 Dirk Brenken (dev@brenken.org)
+-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
@@ -34,7 +34,11 @@ else
wssid = m:field(Value, "ssid", translate("SSID (hidden)"))
end
+nobssid = m:field(Flag, "no_bssid", translate("Ignore BSSID"))
+nobssid.default = nobssid.enabled
+
bssid = m:field(Value, "bssid", translate("BSSID"))
+bssid:depends("no_bssid", 0)
bssid.datatype = "macaddr"
bssid.default = m.hidden.bssid or ""