mirror of https://github.com/aredn/aredn.git
bugfix: correct "Bad Gateway" error on Advanced Config page (#263)
This commit is contained in:
parent
18098a6331
commit
a88803fe5a
|
@ -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 ----------
|
||||
|
|
Loading…
Reference in New Issue