diff --git a/lib/coder.js b/lib/coder.js index ea497ef..0364c4b 100644 --- a/lib/coder.js +++ b/lib/coder.js @@ -734,7 +734,11 @@ var ICEcoder = { }, // Open a file on demand - openFile: function() { + openFile: function(fileLink) { + if (fileLink) { + top.ICEcoder.thisFileFolderLink=fileLink; + top.ICEcoder.thisFileFolderType="file"; + } if (top.ICEcoder.thisFileFolderLink!="" && top.ICEcoder.thisFileFolderType=="file") { var shortURL, canOpenFile;