bugfix: correct "Bad Gateway" error on Advanced Config page (#263)

This commit is contained in:
dman776 2018-11-08 14:08:51 -06:00 committed by GitHub
parent 18098a6331
commit a88803fe5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -73,7 +73,7 @@ push @setting, {
type => "boolean",
desc => "Specifies whether a PoE passthrough port should be on or off. (Not all devices have PoE passthrough ports.",
default => "0",
condition => "hasPOE()"
condition => "hasPOE()",
postcallback => "setPOEOutput()"
};
push @setting, {
@ -81,9 +81,10 @@ push @setting, {
type => "boolean",
desc => "Specifies whether the USB port should be on or off. (Not all devices have USB powered ports.",
default => "1",
postcallback => "setUSBOutput()"
condition => "hasUSB()",
postcallback => "setUSBOutput()",
condition => "hasUSB()"
};
# ----------------------------------------
# ----- CONDITIONS ----------