Update StackMonkey.ps1
This commit is contained in:
@@ -552,12 +552,14 @@ function Build-Checkboxes {
|
|||||||
|
|
||||||
if ($_.SubOptions) {
|
if ($_.SubOptions) {
|
||||||
# join inside the code block is fine
|
# join inside the code block is fine
|
||||||
$subHtml = $_.SubOptions |
|
$subHtml = (
|
||||||
|
$_.SubOptions |
|
||||||
ForEach-Object {
|
ForEach-Object {
|
||||||
"<label style='margin-left:20px; display:block;'>
|
"<label style='margin-left:20px; display:block;'>
|
||||||
<input type='checkbox' class='sub-option-$taskId' name='$($_.Value)' value='$($_.Value)'> $($_.Label)
|
<input type='checkbox' class='sub-option-$taskId' name='$($_.Value)' value='$($_.Value)'> $($_.Label)
|
||||||
</label>"
|
</label>"
|
||||||
} -join "`n"
|
}
|
||||||
|
) -join "`n"
|
||||||
|
|
||||||
$html += @"
|
$html += @"
|
||||||
<div id='${taskId}OptionsContainer' style='display:none; margin-top:4px;'>
|
<div id='${taskId}OptionsContainer' style='display:none; margin-top:4px;'>
|
||||||
|
|||||||
Reference in New Issue
Block a user