ImportTiddlers always loads a TiddlyWiki by using loadRemoteFile, the core XMLHttpRequest function.
In Firefox on Windows XP, when a file is selected by the "Browse..." button on the local disk Firefox reports an error (see:
http://groups.google.com/group/TiddlyWikiDev/browse_thread/thread/067d9ef7cc9b9c78/49fdfd703b4801ae#49fdfd703b4801ae
)
But in IE on Windows XP and Firefox or Camino on OSX it works fine.
I suggest this small change in config.macros.importTiddlers.onBrowseChange function to force "file://" prefix in the url field, when a local file is selected through the "Browse..." button:
config.macros.importTiddlers.onBrowseChange = function(e){
var importer = findRelated(this,"importTiddler","className","parentNode");
importer.inputBox.value = "file://"+this.value;
}I have already done this change in a copy of the original TiddlyWiki 2.1 Beta 4 file here :
http://tiddlylab.bidix.info/beta.html.
You will see that, when
located on local disk ImportTiddlers could access a remote file or a local file, in Windows XP too.
Cheers,
-- BidiX
http://TiddlyWiki.bidix.info