luci-proto-modemmanager: also allow none for preferredmode config option
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 1 Sep 2023 07:51:21 +0000 (09:51 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 1 Sep 2023 08:02:29 +0000 (10:02 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3f2320e0aa140d6e59dedeca97a523e0be4a399b)

protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js

index 224bd6f3bd2b17434f9b78d7805cdb0fc4006891..e3d98d75efde7d0684398c74fa9d885e00609b93 100644 (file)
@@ -109,6 +109,7 @@ return network.registerProtocol('modemmanager', {
                o.value('3g');
                o.value('4g');
                o.value('5g');
+               o.value('none', _('None'));
                o.depends('allowedmode','3g|2g');
                o.depends('allowedmode','4g|2g');
                o.depends('allowedmode','4g|3g');