Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b4f0fecad2 | |||
| 903fa17f8a |
@@ -6057,16 +6057,12 @@ $btnVerOpen.Add_Click({
|
|||||||
|
|
||||||
$btnVerRun.Add_Click({
|
$btnVerRun.Add_Click({
|
||||||
# --- Gather all selected site URLs ---
|
# --- Gather all selected site URLs ---
|
||||||
$siteUrls = @()
|
$siteUrls = if ($script:SelectedSites -and $script:SelectedSites.Count -gt 0) {
|
||||||
if ($script:_CachedSites -and $script:_CachedSites.Count -gt 0) {
|
@($script:SelectedSites)
|
||||||
foreach ($s in $script:_CachedSites) {
|
} else {
|
||||||
if ($s.Checked) { $siteUrls += $s.Url }
|
@($txtSiteURL.Text.Trim())
|
||||||
}
|
|
||||||
}
|
|
||||||
if ($siteUrls.Count -eq 0) {
|
|
||||||
$single = $txtSiteUrl.Text.Trim()
|
|
||||||
if ($single) { $siteUrls = @($single) }
|
|
||||||
}
|
}
|
||||||
|
$siteUrls = @($siteUrls | Where-Object { $_ })
|
||||||
if ($siteUrls.Count -eq 0) { Write-Log "Site URL required." "Red"; return }
|
if ($siteUrls.Count -eq 0) { Write-Log "Site URL required." "Red"; return }
|
||||||
|
|
||||||
$clientId = $txtClientId.Text.Trim()
|
$clientId = $txtClientId.Text.Trim()
|
||||||
|
|||||||
Reference in New Issue
Block a user