From 6b789fd728174a8f27500f00052525c55e6492bc Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 20 Aug 2024 20:11:07 +0200 Subject: [PATCH] Make MPTCP gbal status read only in MPTCP interface --- luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js index c9ec6074f..ba5b41caa 100644 --- a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js +++ b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js @@ -35,6 +35,7 @@ return L.view.extend({ o = s.option(form.ListValue, 'multipath', _('Multipath TCP')); o.value("enable", _("enable")); o.value("disable", _("disable")); + o.readonly = true; o = s.option(form.ListValue, "mptcp_checksum", _("Multipath TCP checksum")); o.value(1, _("enable"));