diff --git a/lib/file-control.php b/lib/file-control.php
index 4ba349a..758300e 100644
--- a/lib/file-control.php
+++ b/lib/file-control.php
@@ -103,6 +103,7 @@ if ($_GET['action']=="save") {
// Reload file manager & stop CTRL+s being sticky
echo '';
}
+ echo '';
echo '';
} else {
echo '';
@@ -124,13 +125,14 @@ if (action=="load") {
top.ICEcoder.switchMode();
cM = top.ICEcoder.getcMInstance();
cM.setValue(document.getElementById('loadedFile').value);
- cM.clearHistory();
top.document.getElementById('content').style.visibility='visible';
top.ICEcoder.switchTab(top.ICEcoder.selectedTab);
cM.focus();
// Then clean it up, set the text cursor, update the display and get the character data
top.ICEcoder.contentCleanUp();
+ top.ICEcoder.content.contentWindow['cM'+top.ICEcoder.selectedTab].setLineClass(top.ICEcoder['cMActiveLine'+top.ICEcoder.selectedTab], null);
+ top.ICEcoder['cMActiveLine'+top.ICEcoder.selectedTab] = top.ICEcoder.content.contentWindow['cM'+top.ICEcoder.selectedTab].setLineClass(0, "cm-s-activeLine");
}
if (fileType=="image") {