Focus the iframe

This commit is contained in:
Adrian Vollmer 2024-04-27 19:42:36 +02:00
parent 0c594fdc0b
commit adc35023a5

View File

@ -246,6 +246,7 @@ window.onload = function() {
}, "*");
var oldIframe = document.getElementById("old-" + iFrameId);
if (oldIframe) { oldIframe.remove() };
iframe.contentWindow.document.body.focus();
} else if (evnt.data.action == 'retrieveFile') {
const path = evnt.data.argument.path;