On load, focus on files after a 0ms tickover

This commit is contained in:
Matt Pass
2014-10-30 17:34:19 +00:00
parent 4751e1c24a
commit dff76a439d

View File

@@ -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();