http://trac.tiddlywiki.org/changeset/12237
FND
2010-06-25 23:31:55 -0700 (Fri, 25 Jun 2010)
129
improved handling of backstage initialization flag
stricter check allows plugins to set showBackstage to false
cf. ticket #1232
---------------
U Trunk/core/js/main.js
---------------
Modified: Trunk/core/js/main.js
===================================================================
--- Trunk/core/js/main.js 2010-06-24 14:06:07 UTC (rev 12236)
+++ Trunk/core/js/main.js 2010-06-26 06:31:55 UTC (rev 12237)
@@ -55,7 +55,7 @@
formatter = new Formatter(config.formatters);
invokeParamifier(params,"onconfig");
story.switchTheme(config.options.txtTheme);
- showBackstage = showBackstage || !readOnly;
+ showBackstage = showBackstage !== undefined ? showBackstage : !readOnly;
t6 = new Date();
for(var m in config.macros) {
if(config.macros[m].init)
--
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.