On Apr 21, 10:49 pm, RA <[email protected]> wrote:
> I think I got it:
> return wikify('[['+store.getTiddler(story.findContainingTiddler
> (place).getAttribute("tiddler")).getLinks().sort().join(']]\n[[')
> +']]',place);
>
> Now how would I make it take into account the
> chkDisableNonExistingWikiLinks=true?
Try this:
<script>
var tid=story.findContainingTiddler(place).getAttribute("tiddler");
var links=store.getTiddler(tid).getLinks();
for (var i=0; i<list.length; i++) if (!store.tiddlerExists(list[i]))
list[i]='';
return wikify('[['+list.sort().join(']]\n[[')+']]',place);
</script>
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---