[tw] Re: Empty tiddler

2011-01-18 Thread colmjude
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

[tw] Re: Empty tiddler

2011-01-18 Thread Eric Shulman
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