The core faces exactly this problem when the user clicks one of the buttons 
on the standard edit toolbar (such as Cancel), or when they press the 
equivalent key (such as Escape). The edit template generates keyboard 
widgets and button widgets, and the JavaScript implementations of these 
widgets use the currentTiddler variable to tell them which tiddler to work 
with:

KeyboardWidget.prototype.dispatchMessage = function(event) {
    this.dispatchEvent({type: this.message, param: this.param, 
tiddlerTitle: this.getVariable("currentTiddler")});
};

– æ

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