From dff76a439d33a3d6e20206500e861834b82de71d Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 30 Oct 2014 17:34:19 +0000 Subject: [PATCH] On load, focus on files after a 0ms tickover --- lib/file-control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/file-control.php b/lib/file-control.php index 6b6e86a..30a41ac 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -493,6 +493,7 @@ if (action=="load") { top.ICEcoder.savedPoints[top.ICEcoder.selectedTab-1] = cM.changeGeneration(); top.document.getElementById('content').style.visibility='visible'; top.ICEcoder.switchTab(top.ICEcoder.selectedTab,'noFocus'); + setTimeout(function(){top.filesFrame.contentWindow.focus();},0); // Then clean it up, set the text cursor, update the display and get the character data top.ICEcoder.contentCleanUp();