diff --git a/lib/file-control.php b/lib/file-control.php
index 6d4186c..b87e944 100644
--- a/lib/file-control.php
+++ b/lib/file-control.php
@@ -263,7 +263,7 @@ if (action=="save") {
if ("undefined" != typeof newFileName) {
top.ICEcoder.serverMessage('Saving
'+newFileName);
}
- document.saveFile.contents.innerHTML = top.document.getElementById('saveTemp1').value;
+ document.saveFile.contents.value = top.document.getElementById('saveTemp1').value;
document.saveFile.submit();
} else {
top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);