diff --git a/plugins/dynamix.docker.manager/DockerSettings.page b/plugins/dynamix.docker.manager/DockerSettings.page index da5d83011..a73a421f7 100644 --- a/plugins/dynamix.docker.manager/DockerSettings.page +++ b/plugins/dynamix.docker.manager/DockerSettings.page @@ -314,7 +314,7 @@ $dhcpDisabled = $range ? '':'disabled'; IPv4 custom network on interface (optional): -: > +: > **Subnet:** >/ @@ -324,7 +324,7 @@ IPv4 custom network on interface (optional): **DHCP pool:** >/ - ( hosts) + ( hosts) @@ -383,7 +383,7 @@ $dhcpDisabled = $range6 ? '':'disabled'; IPv6 custom network on interface (optional): -: > +: > **Subnet:**>/ @@ -391,7 +391,7 @@ IPv6 custom network on interface (optional): > **DHCP pool:**>/ + @@ -714,7 +714,13 @@ function changeCustom(id,ip) { $(id+'dhcp').prop('disabled',!checked); $(id+'pool').prop('disabled',!checked); $(id+'size').prop('disabled',!checked); - checked ? $(id+'hosts').show() : $(id+'hosts').hide(); + if (checked) { + $(id+'hosts').show(); + $(id+'line').removeClass('disabled'); + } else { + $(id+'hosts').hide(); + $(id+'line').addClass('disabled','disabled'); + } } function changeMask(id,val) { var mask = Math.pow(2,32-val);