Merge pull request #6734 from felagund/patch-1
authorPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 13:05:36 +0000 (14:05 +0100)
committerPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 22:42:20 +0000 (23:42 +0100)
 luci-mod-network: Update wireless.js to clarify Distance Optimization

(cherry picked from commit 647019cc160c394800db32ce82895245adc302ee)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 9fb9027805819893cec0f973271b4782c3f15efe..7cef3128af51a3fe543b3bc7b370dbb986aef4ed 100644 (file)
@@ -957,7 +957,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';