> > Your function declaration is a bit odd.  The name of the function is
> > 'handler'.... but you also declare 'showTitleOfField'.  Try removing
> > that extra name:
> > config.macros.showWorkHeader.handler=function(...) {
> Corrected this ... but still the same error. I try to setup the situation
> on tiddlyspot ...

You also need to declare the 'showWorkHeader' *object* before you
define the 'handler' method:

config.macros.showWorkHeader={};
config.macros.showWorkHeader.handler = function (...) {
   ...
};

OR

config.macros.showWorkHeader={
   handler: function (...) {
      ...
   };
}

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en.

Reply via email to