diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index f02b01d6..083a03d4 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -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 ----------