diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-17 19:36:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-05-17 19:36:17 +0200 |
commit | 01d5d5f92963d9596a3c0b669a7e8d87b64132d5 (patch) | |
tree | 743cb822e6dff2337cb18572bfc6225621b4cf9e /modules/luci-mod-network/htdocs | |
parent | c7686d4b3c660dfe44eb2decbedce89c0873649e (diff) |
luci-mod-network: allow literal "auto" value for distance
Fixes: #4050
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 5d4b3cd70c..ca0cdf6152 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -893,7 +893,7 @@ return view.extend({ o.default = o.enabled; o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters.')); - o.datatype = 'range(0,114750)'; + o.datatype = 'or(range(0,114750),"auto")'; o.placeholder = 'auto'; o = ss.taboption('advanced', form.Value, 'frag', _('Fragmentation Threshold')); |