> <<tiddler CDriveNumber if:{{config.options.txtDVD == "undefined"}}>>
try this:
<<tiddler CDriveNumber if:{{config.options.txtDVD===undefined}}>>
* omit the quotes around undefined. It is a javascript intrinsic
constant, rather than a string literal.
* use the "exactly equal" operator (===) rather than the normal
equality (==). In Javascript, the constants: 0, false, undefined and
"" (empty text string) are all equivalent when compared using ==, but
are distinct values when compared using ===.
Note: support for the <<tiddler ... if:{{...}}>> parameter usage is
added by a "tweak" contained in
http://www.TiddlyTools.com/#CoreTweaks
enjoy,
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en.