Commit 01b7ad02 authored by Akikonata's avatar Akikonata

test

parent 066d096b
...@@ -55,7 +55,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) { ...@@ -55,7 +55,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
return iev; return iev;
}; };
var doSave = function ( d, filename ) { var doSave = function ( d, filename ) {
var winname = window.open( '', '_blank', 'height=0,width=0,top=0,left=0' ); var winname = window.open( '', '_blank', 'height=0,width=0,toolbar=no,menubar=no,scrollbars=no,resizable=on,location=no,status=no' );
winname.document.open( 'text/html', 'replace' ); winname.document.open( 'text/html', 'replace' );
winname.document.writeln( d ); winname.document.writeln( d );
winname.document.execCommand( 'saveas', '', filename ); winname.document.execCommand( 'saveas', '', filename );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment