Skip to content

Commit 3eca54e

Browse files
committed
luci-app-dockerman: return true for net validate
When all other conditions pass, the function shall return true. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
1 parent a6d95fe commit 3eca54e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman

applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container_new.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ return dm2.dv.extend({
249249
let dnet = this.section.getOption('network').getUIElement(section_id).getValue();
250250
const disallowed = builtInNetworks.has(dnet);
251251
if (disallowed) return _('Only for user-defined networks');
252+
return true;
252253
};
253254

254255
o = s.option(form.Value, 'ipv4', _('IPv4 Address'));

0 commit comments

Comments
 (0)