summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2026-04-03 17:01:10 +0000
committerPaul Donald2026-04-03 17:01:10 +0000
commit3eca54ee2e86f4508f8b3b725d692404a481fd62 (patch)
tree18cce075800830e9e6de132ab4699d6ddfe9a621
parenta6d95fe11b722dec21ef33585b5144f67c0bd85c (diff)
downloadluci-master.tar.gz
luci-app-dockerman: return true for net validateHEADmaster
When all other conditions pass, the function shall return true. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
-rw-r--r--applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js b/applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js
index a2da8767c7..d624ec0e50 100644
--- a/applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js
+++ b/applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js
@@ -249,6 +249,7 @@ return dm2.dv.extend({
let dnet = this.section.getOption('network').getUIElement(section_id).getValue();
const disallowed = builtInNetworks.has(dnet);
if (disallowed) return _('Only for user-defined networks');
+ return true;
};
o = s.option(form.Value, 'ipv4', _('IPv4 Address'));