MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / toggleWardrivingEnabled

Function toggleWardrivingEnabled

web/scripts/ragnar_modern.js:17648–17659  ·  view source on GitHub ↗
(checkbox)

Source from the content-addressed store, hash-verified

17646 const missing = missingCritical.concat(missingOptional);
17647 repairMsg.textContent = missing.length
17648 ? `Missing or broken: ${missing.join(', ')}.`
17649 : 'Some components need attention. Re-run the installer to repair.';
17650 }
17651
17652 const busy = Boolean(status.installing);
17653
17654 const repairBtn = document.getElementById('pwn-repair-btn');
17655 if (repairBtn) {
17656 repairBtn.disabled = busy;
17657 repairBtn.textContent = busy ? 'Repairing…' : 'Repair Installation';
17658 repairBtn.classList.toggle('opacity-70', busy);
17659 repairBtn.classList.toggle('cursor-not-allowed', busy);
17660 }
17661
17662 // Reinstall is always offered (even when Healthy) as a guaranteed clean rebuild.

Callers

nothing calls this directly

Calls 4

errorMethod · 0.80
postAPIFunction · 0.70
addConsoleMessageFunction · 0.70

Tested by

no test coverage detected