Hi Everyone (perhaps Eric knows best),

How can I change readOnly and then have TiddlyWiki refresh the dispay 
without reloading the page (over HTTP)?

At least hacking this into Firebug...
readOnly = false;
refreshDisplay();

...or...
readOnly = false;
refreshAll();

...does not seem to do it.


*Background*: The actual goal is to simply be able to hit a button and see 
admin features toggled. Currently, my friend has to enter his name into a 
password field and then reload the page in order to find that there now are 
toolbars, conditionally displayed depending on the readOnly state which 
itself depends on the name being entered correctly.

; http://therapie-sport.de/#zzzConfig
: for checking the username and setting readOnly accordingly

; http://therapie-sport.de/#ViewTemplate
: for conditionally showing / hiding the toolbar using HideWhenPlugin.

; http://therapie-sport.de/#Aktuelles
: conditionally shows an admin section in the sidebar, when the username is 
entered correctly using InlineJavascriptPlugin


Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to