On Jan 18, 4:36 am, Clark Kogan kogan.cl...@gmail.com wrote:
Hello,
I was using the following code in an inline jscript function:
tid = story.getTiddler(tidname);
tidtitle = tid.title;
If I put in a tidname that does not exist, story.getTiddler will still
return an object.
It should set
tid = story.getTiddler(tidname);
tidtitle = tid.title;
I think you meant to call
store.getTiddler(...)
NOT
story.getTiddler(...)
store.getTiddler(...) retrieves a tiddler *object* from the TW core
data 'store', or NULL if that tiddler does not *exist* in the document
2 matches
Mail list logo