My first post to this group since I'm just starting to think of myself as a 
developer so I'll start with a stupid one...

Suppose I'm editing two tiddlers at the same time, ie, both are open in the 
edit mode. Say tiddler Whatever and tiddler Whoknows. If I click the "Save 
changes to this Tiddler" button of tiddler Whatever, TW5 transfers the 
changes made to Draft of 'Whatever' to Whatever, saves the changes and gets 
rid of Draft of 'Whatever'. How does TW know which tiddler to do that to?

This processing appears to happen in the 
$:/core/modules/widgets/navigator.js tiddler. There is a line near the 
beginning of the NavigatorWidget.prototype.handleSaveTiddlerEvent routine 
that reads: var title = event.param || event.tiddlerTitle. I read that line 
to mean set the variable title to event.param and use event.tiddlerTitle if 
there is no event.param. What I think I'm missing is where the event.param 
or the event.tiddlerTitle come from. Is there some way to examine those 
values that I just haven't figured out yet?

Sorry. That's actually two questions.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to