That was easy - I was Over thinking the solution / problem . . . As always - You are awesome !!
Thx, Mike On May 1, 11:16 am, Eric Shulman <[email protected]> wrote: > > Is this a pretty easy fix, or should I re-think what I was playing > > with? > > There isn't anything to 'fix'. When a plugin is being loaded during > document startup, the page content has not yet been generated, so > there simply isn't a 'place' to refer to. > > Fortunately, as far as I can tell, the only line in your script that > depends upon 'place' is: > > story.refreshTiddler(story.findContainingTiddler(place).getAttribute > ("tiddler"),null,true); > > which just refreshes the "current" tiddler. However, when this code > is invoked as a plugin, there isn't any current tiddler, so it's > probably safe to just omit this line. > > -e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
