The code you're looking for is in the *dispatchMessage* function in 
button.js. It calls *dispatchEvent*, passing a newly created object whose 
*tiddlerTitle* field is set to the value of the *currentTiddler* variable. 
This newly created object is what the navigator widget's 
*handleSaveTiddlerEvent* function receives as its event parameter.

With regard to console debugging, I'm only just starting on the learning 
curve of that myself, so I'm afraid I can't help you much there. Believe it 
or not, I didn't know any of what I explained in my previous reply before I 
read your question. But I went and searched in the code and worked it out. 
A great way to learn!

You mentioned *$:/core/modules/widgets/navigator.js* by its tiddler name 
rather than its filename. Does this mean you're trying to understand the 
code by reading JavaScript tiddlers in the browser? If so, you'd probably 
find it far easier to download 
https://github.com/Jermolene/TiddlyWiki5/archive/master.zip and peruse the 
source with a text editor.

– æ

-- 
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