asdasd
This commit is contained in:
@@ -126,23 +126,6 @@
|
||||
actionInFlight = locked;
|
||||
page.classList.toggle('is-busy', locked);
|
||||
ensureActionConsole();
|
||||
|
||||
let overlay = page.querySelector('[data-pihole-busy-overlay]');
|
||||
if (!overlay) {
|
||||
overlay = document.createElement('div');
|
||||
overlay.className = 'pihole-busy-overlay';
|
||||
overlay.dataset.piholeBusyOverlay = '1';
|
||||
overlay.hidden = true;
|
||||
overlay.innerHTML = '<div class="pihole-busy-card"><strong>Aktion wird ausgefuehrt</strong><span data-pihole-busy-text></span></div>';
|
||||
page.appendChild(overlay);
|
||||
}
|
||||
|
||||
const text = overlay.querySelector('[data-pihole-busy-text]');
|
||||
if (text) {
|
||||
text.textContent = message;
|
||||
}
|
||||
|
||||
overlay.hidden = !locked;
|
||||
if (actionConsoleClose) {
|
||||
actionConsoleClose.disabled = locked;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user