WebAppFind potential file: protocol support

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2588 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2013-10-14 00:29:42 +00:00
parent a6814949fc
commit f0b278762b
1 changed files with 1 additions and 1 deletions

View File

@ -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() {