module console
This commit is contained in:
@@ -291,17 +291,11 @@
|
||||
}
|
||||
return;
|
||||
}
|
||||
const iframe = getActiveIframe();
|
||||
const ok = trySendToIframe(iframe, commandTextarea.value.trim());
|
||||
if (!ok) {
|
||||
if (consoleNotice) {
|
||||
consoleNotice.textContent = 'Aktive Konsole nicht steuerbar – Befehl wird in neuer Konsole ausgeführt.';
|
||||
consoleNotice.style.display = 'block';
|
||||
}
|
||||
submitOpen();
|
||||
return;
|
||||
if (consoleNotice) {
|
||||
consoleNotice.textContent = 'Aktive Konsole kann nicht direkt gesteuert werden – Befehl wird in neuer Konsole ausgeführt.';
|
||||
consoleNotice.style.display = 'block';
|
||||
}
|
||||
if (consoleError) consoleError.style.display = 'none';
|
||||
submitOpen();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user