Author: kkolinko
Date: Fri Mar 1 23:38:03 2013
New Revision: 1451777
URL: http://svn.apache.org/r1451777
Log:
Merged revision 1451769 from tomcat/trunk:
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/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc7.0.x/trunk/webapps/docs/tomcat-docs.xsl
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1451769
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1451777&r1=1451776&r2=1451777&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri Mar 1 23:38:03 2013
@@ -35,6 +35,7 @@
<author email="[email protected]">Christopher Schultz</author>
<author email="[email protected]">Sylvain Laurent</author>
<title>Changelog</title>
+ <no-comments />
</properties>
<body>
@@ -97,6 +98,10 @@
Correct typos in configuration samples on SSL Configuration page
of Tomcat documentation. (kkolinko)
</fix>
+ <update>
+ Disable support for comments on Changelog page of Tomcat
+ documentation. (kkolinko)
+ </update>
</changelog>
</subsection>
<subsection name="Other">
Modified: tomcat/tc7.0.x/trunk/webapps/docs/tomcat-docs.xsl
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/tomcat-docs.xsl?rev=1451777&r1=1451776&r2=1451777&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/tomcat-docs.xsl Fri Mar 1 23:38:03 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]