[daisy] [JIRA] Created: (DSY-469) form/@id=NaN for the
'live-staging' switch
Marc Portier (JIRA)
issues at cocoondev.org
Fri May 11 02:24:20 CDT 2007
form/@id=NaN for the 'live-staging' switch
------------------------------------------
Key: DSY-469
URL: http://issues.cocoondev.org//browse/DSY-469
Project: Daisy
Type: Improvement
Reporter: Marc Portier
Priority: Trivial
Checking up on the source of the http://www.daisycms.org/ site I noticed the div for the LIVE-STAGING indicator/switch is built up with this snippet of HTML:
<li id="liveStagingIndicator">
<form id="NaN" action="/switchVersionMode?versionMode=last&returnTo=%2Fen%2Fhome.html%3Bjsessionid%3D8sxi3ovtq81w" method="post" style="display: none;"/>
<a title="Click to switch to staging view" class="" href="#" onclick="document.getElementById('NaN').submit(); return false;" onmouseover="status=''; return true;">LIVE</a>
</li>
My guess is the form/@id here is generated by some XSLT that actually is yielding an error. The resulting id is still unique apparently, so things are working ok. Still this looks like an issue waiting to happen.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list