Fixed Issue 99 file open bug on Opera widget
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@487 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
581728ab1a
commit
3c6f79a8c1
|
@ -13,7 +13,7 @@ $(function() {
|
|||
fstream = file.open(file, "r");
|
||||
var output = "";
|
||||
while (!fstream.eof) {
|
||||
output += fstream.readLine("UTF-16");
|
||||
output += fstream.readLine();
|
||||
}
|
||||
|
||||
svgCanvas.setSvgString(output); /* 'this' is bound to the filestream object here */
|
||||
|
|
Loading…
Reference in New Issue