On load don't focus on editor pane

Want to retain focus on file manager incase we are using shortcuts to
open files etc
This commit is contained in:
Matt Pass
2014-10-30 11:42:19 +00:00
parent 41e3e1c821
commit 4f47e717e6

View File

@@ -492,8 +492,7 @@ if (action=="load") {
cM.setValue(document.getElementById('loadedFile').value);
top.ICEcoder.savedPoints[top.ICEcoder.selectedTab-1] = cM.changeGeneration();
top.document.getElementById('content').style.visibility='visible';
top.ICEcoder.switchTab(top.ICEcoder.selectedTab);
top.ICEcoder.focus();
top.ICEcoder.switchTab(top.ICEcoder.selectedTab,'noFocus');
// Then clean it up, set the text cursor, update the display and get the character data
top.ICEcoder.contentCleanUp();