Whoops. Forgot to actually paste the text of the plugin.
//{{{
config.commands.justSaveTiddler = {
text: "Save",
tooltip: "Save and continue editing"
}
config.commands.justSaveTiddler.handler = function(event,src,title) {
var newTitle = story.saveTiddler(title,event.shiftKey);
var tiddlerElem = story.getTiddler(title);
var fields = tiddlerElem.getAttribute("tiddlyFields");
story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE,false,null,fields);
var e =
story.getTiddlerField(title,config.options.txtEditorFocus||"text");
if(e) {
setCaretPosition(e,0);
}
return false;
}
//}}}
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.