> After setting these values, you probably wanna do this: > refreshAll(); > story.refreshAllTiddlers();
FND makes a good point :- you may only see the effect of flipping the readOnly flag when a new tiddler is displayed so you might need to refresh the page, and of course you might want to consider what should happen to a tiddler which is open for editing if the wiki is flipped into readOnly. An alternative to refreshing might be to consider making edit/delete macros used in the toolbars by the ViewTemplate and EditTemplate tiddler check the flag dynamically. -- Paul (psd) http://blog.whatfettle.com -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev?hl=en.
