luci-mod-network: Update wireless.js to clarify Distance Optimization 6734/head
authorTomáš Hnyk <tomashnyk@gmail.com>
Mon, 4 Dec 2023 11:02:03 +0000 (12:02 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Dec 2023 11:02:03 +0000 (12:02 +0100)
Fixes #2784

Right now, it is not clear that users in indoor settings should stay clear off this setting and people struggle with it as evidenced in the linked issue.

Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 4c2daf588a5a373e5e13eb962b133379a93120c1..80ab426a0eea189d953cb238e160c231ac610123 100644 (file)
@@ -950,7 +950,7 @@ return view.extend({
                                        o.value('2', _('High'));
                                        o.value('3', _('Very High'));
 
-                                       o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters.'));
+                                       o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters. Set only for distances above one kilometer; otherwise it is harmful.'));
                                        o.datatype = 'or(range(0,114750),"auto")';
                                        o.placeholder = 'auto';