An update... I believe that it really has to do with the forward/
backward slashes as when I changed the values of
if((p=pathRoot.lastIndexOf('\\'))!=-1) pathRoot=pathRoot.substr(0,p
+1); // truncate any trailing filename (derived paths only)
and
if((p=fileName.lastIndexOf('\\'))!=-1) fileName=fileName.substr(p
+1); // truncate everything up to the last slash

from backward slashes to forward slashes, i.e. '/' then it works
fine...

So the question now is, does anyone know how to auto-detect the
operating system and then set the fields accordingly?

Thanks,
Y

On Nov 24, 3:28 pm, Yianni <[email protected]> wrote:
> Hi,
>
> I've installed the tiddlylock plugin but seems not to be working...
> This is on a linux system (ubuntu 10.04) and the tiddlywiki file
> exists in a shared dropbox folder... Any clues? Does it have to do
> that paths are with forward slashes but in linux they are backward
> slashes?
>
> Thanks,
> Y

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to