[daisy] [JIRA] Resolved: (DSY-469) form/@id=NaN for the 'live-staging' switch

Bruno Dumon (JIRA) issues at cocoondev.org
Thu Jun 7 08:12:46 CDT 2007


     [ http://issues.cocoondev.org//browse/DSY-469?page=all ]
     
Bruno Dumon resolved DSY-469:
-----------------------------

    Resolution: Fixed

Thanks for reporting this issue.

Fixed in SVN rev 4082.

> 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
>      Fix For: 2.1

>
> 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