I'm wondering: what am I doing wrong?

Paste this into a new tiddler:

<$button popup="$:/SamplePopupState!!editmode">Pop me up!</$button>

<$reveal type="popup" stateTitle="$:/SamplePopupState" 
stateField="editmode">
<div class="tc-drop-down tc-popup-keep">

! This is the popup
And this is some text

</div>
</$reveal>

and you'll get

Internal JavaScript Error
> Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
> by refreshing your browser
>
 

> TypeError: undefined is not an object (evaluating 
> 'this.wiki.getTiddler(this.stateTitle).getFieldString')
>
>  
 I simply wanted the popup to have its state stored in a field of an 
existing tiddler.

In the popup I want to enter some data.



-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45e38d8d-707a-49ef-ae11-fed088bfbe59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to