A
TwistyPlugin enabled topic that is satisfactory under
TWiki:Plugins.PatternSkin
doens't show the button or the hidden text when viewed with the NAT skin.
It's failing because it's using
<body onload="somehandler">
. That's a known limitation of
TWiki:Plugins.TwistyContrib
(noted in the topic), as it needs to execute some code in the
onload
event. That happened in
TWiki:Plugins.PatternSkin
too, so the templates where changed to use a javascript function that allows to register more than one handler for the
onload
event.
Please, check
twiki.pattern.tmpl
for the solution. Note that the
addLoadEvent
function is also in
twisty.js
, so if you bundle
TWiki:Plugins.TwistyPlugin
with
TWiki:Plugins.NatSkin
you get it for free.
--
RA - 01 Oct 2005
I don't understand that last paragraph. I do have both those plugins, so, as you say, I do have
addLoadEvent
.
Are you saying that
view.nat.tmpl
needs updating, becuase if you are its not clear form the above.
--
TWiki:Main.AntonAylward
- 02 Oct 2005
Sorry if I wasn't clear. You're right:
TWiki:Plugins.NatSkin
needs to be updated to use the
addLoadEvent
to register it's
onload
handler, instead of using the
mechanism.
--
RA - 01 Oct 2005
Discarded because it applies to
NatSkin, and should be reported in the
NatSkinDev topic. Sorry, it's too confusing to try and maintain natSkin bugs here.
CC
...but SVN checkins require an
Item###:
prefix or the checkin is rejected.
see Item570 MW
Why is a totally valid report closed? It is not fixed yet. There are lots of reports that are skin or plugin related. That's what the
AppliesTo
classification is for. See
http://ntwiki.ethermage.net/~develop/cgi-bin/view/Bugs/WebSearch?class=Plugin
for a list of all current and former
plugin items. Please let people report bugs related to the
TWiki:Plugins.NatSkin
here. At least dont discard them.
Otherwise I will be forced to setup my own bugtracker

.
MD
this was probably closed before
Item570, which was, at least partly, inspired by this bug

--
WN
fixed in svn 6900.
MD