From 8eb2c94e487eb80c2db1e03e6c12621620182544 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sun, 22 Aug 2021 09:14:54 +0200 Subject: [PATCH] luci-app-travelmate: sync with travelmate 2.0.5-3 * adapt the travelmate UI to support the changed 'trm_maxscan' option Signed-off-by: Dirk Brenken (cherry picked from commit fd7494ffb19d1c0197ddcb048c381b44cdb205e5) Signed-off-by: Dirk Brenken --- .../luci-static/resources/view/travelmate/overview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js index 16d933e691..9dde97dd34 100644 --- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js +++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js @@ -362,9 +362,9 @@ return view.extend({ o.datatype = 'range(30,300)'; o.rmempty = true; - o = s.taboption('additional', form.Value, 'trm_scanbuffer', _('Scan Buffer Size'), _('Buffer size in bytes to prepare nearby scan results.')); - o.placeholder = '1024'; - o.datatype = 'range(256,4096)'; + o = s.taboption('additional', form.Value, 'trm_maxscan', _('Scan Limit'), _('Limit the nearby scan results to process only the strongest uplinks.')); + o.placeholder = '10'; + o.datatype = 'range(1,30)'; o.rmempty = true; o = s.taboption('additional', form.ListValue, 'trm_captiveurl', _('Captive Portal URL'), _('The selected URL will be used for connectivity- and captive portal checks.')); -- 2.30.2