From a33600d3e23bd6a1d7fce4df23dd35e487d02085 Mon Sep 17 00:00:00 2001 From: Jemmy Date: Wed, 16 Jul 2025 08:11:25 +0800 Subject: [PATCH] Fix Stream Proxy TCP/UDP selection not saved initially #742 - Reset the value of the form correctly in `streamprox.html`. Ref #742. --- src/web/components/streamprox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/components/streamprox.html b/src/web/components/streamprox.html index c8883bd..bddac54 100644 --- a/src/web/components/streamprox.html +++ b/src/web/components/streamprox.html @@ -137,7 +137,7 @@ }); function clearStreamProxyAddEditForm(){ - $('#streamProxyForm input, #streamProxyForm select').val(''); + $('#streamProxyForm').find('input:not([type=checkbox]), select').val(''); $('#streamProxyForm select').dropdown('clear'); $("#streamProxyForm input[name=timeout]").val(10); $("#streamProxyForm .toggle.checkbox").checkbox("set unchecked");