From d85f618cd031995fac1fd86df8b349814635d076 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Thu, 21 Nov 2024 21:00:41 +0800 Subject: [PATCH] luci-app-homeproxy: sync upstream last commit: https://github.com/immortalwrt/homeproxy/commit/3f022de3b18e23ed5e781cb0e3778ce5062aade0 --- .../htdocs/luci-static/resources/view/homeproxy/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luci-app-homeproxy/htdocs/luci-static/resources/view/homeproxy/client.js b/luci-app-homeproxy/htdocs/luci-static/resources/view/homeproxy/client.js index 9af55a1a9..334d629ab 100644 --- a/luci-app-homeproxy/htdocs/luci-static/resources/view/homeproxy/client.js +++ b/luci-app-homeproxy/htdocs/luci-static/resources/view/homeproxy/client.js @@ -1092,6 +1092,7 @@ return view.extend({ delete this.keylist; delete this.vallist; + this.value('', _('Default')); this.value('direct-out', _('Direct')); uci.sections(data[0], 'routing_node', (res) => { if (res.enabled === '1') @@ -1100,8 +1101,6 @@ return view.extend({ return this.super('load', section_id); } - so.default = 'direct-out'; - so.rmempty = false; so.depends('type', 'remote'); so = ss.option(form.Value, 'update_interval', _('Update interval'),