<$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 popupAnd this is some text
</div></$reveal>
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.
You can work around it by using a text reference for the reveal widget instead of separate title and field attributes.
$:/SamplePopupState!!editmode"
that's an edge-case which is not handled correctly ...
for you that means that you should avoid using the state reference (!!) for the popup
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/ef8ea975-8366-4700-8009-625a9f02a26c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.