WebAppFind potential file: protocol support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2588 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
a6814949fc
commit
f0b278762b
|
@ -40,7 +40,7 @@ window.addEventListener('message', function(e) {
|
|||
}
|
||||
}, false);
|
||||
|
||||
window.postMessage([readMessage], window.location.origin);
|
||||
window.postMessage([readMessage], window.location.origin !== 'null' ? window.location.origin : '*'); // Avoid "null" string error for file: protocol (even though file protocol not currently supported by add-on)
|
||||
|
||||
svgEditor.addExtension('WebAppFind', function() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue