remove debug code

This commit is contained in:
Isaac Connor 2017-06-28 15:18:12 -04:00
parent 8b1459a510
commit 621d2e0e41
1 changed files with 0 additions and 2 deletions

View File

@ -543,7 +543,6 @@ function makePopupButton( $url, $winName, $winSize, $buttonValue, $condition=1,
}
function htmlSelect( $name, $contents, $values, $behaviours=false ) {
Logger::Debug("htmlSelect for $name $values");
$behaviourText = '';
if ( !empty($behaviours) ) {
@ -559,7 +558,6 @@ Logger::Debug("htmlSelect for $name $values");
$html = "<select name=\"$name\" id=\"$name\"$behaviourText>";
foreach ( $contents as $value=>$text ) {
$selected = is_array( $values ) ? in_array( $value, $values ) : $value==$values;
Logger::Debug("htmlSelect for $name $value == '$values' ? $selected");
$html .= "<option value=\"$value\"".($selected?" selected=\"selected\"":'').">$text</option>";
}
$html .= '</select>';