Author: kkolinko
Date: Fri Mar 1 23:25:19 2013
New Revision: 1451769
URL: http://svn.apache.org/r1451769
Log:
Disable comments section for the "Changelog" page.
This fixes JavaScript errors when viewing changelog as XML file in a browser.
(I suspect that is because you cannot use document.write() with XML)
Modified:
tomcat/trunk/webapps/docs/changelog.xml
tomcat/trunk/webapps/docs/tomcat-docs.xsl
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1451769&r1=1451768&r2=1451769&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Mar 1 23:25:19 2013
@@ -25,6 +25,7 @@
<properties>
<title>Changelog</title>
+ <no-comments />
</properties>
<body>
Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=1451769&r1=1451768&r2=1451769&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Fri Mar 1 23:25:19 2013
@@ -173,6 +173,7 @@
</tr>
+ <xsl:if test="not(properties/no-comments)">
<tr class="noPrint">
<td width="20%" valign="top" nowrap="nowrap" class="noPrint">
@@ -220,6 +221,7 @@
</table>
</td>
</tr>
+ </xsl:if>
<xsl:comment>FOOTER SEPARATOR</xsl:comment>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]