You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2009/05/29 20:59:57 UTC
svn commit: r780071 - in /incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH:
ChangeLog src/com/ecyrd/jspwiki/Release.java src/webdocs/Comment.jsp
Author: metskem
Date: Fri May 29 18:59:57 2009
New Revision: 780071
URL: http://svn.apache.org/viewvc?rev=780071&view=rev
Log:
3.0.0-svn-122 JSPWIKI-564 Comment Editor populated by Preview from another wikipage,reported by Jeff Allen.
Modified:
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/webdocs/Comment.jsp
Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=780071&r1=780070&r2=780071&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Fri May 29 18:59:57 2009
@@ -1,3 +1,11 @@
+2009-05-29 Harry Metske <me...@apache.org>
+
+ * 2.8.3-svn-8
+
+ * JSPWIKI-564 Comment Editor populated by Preview from another wikipage,
+ reported by Jeff Allen.
+ The Comment.jsp now always clears the EDITED_TEXT from the session.
+
2009-05-12 Harry Metske <me...@apache.org>
* 2.8.3-svn-7
Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=780071&r1=780070&r2=780071&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java Fri May 29 18:59:57 2009
@@ -77,7 +77,7 @@
* <p>
* If the build identifier is empty, it is not added.
*/
- public static final String BUILD = "7";
+ public static final String BUILD = "8";
/**
* This is the generic version string you should use
Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/webdocs/Comment.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/webdocs/Comment.jsp?rev=780071&r1=780070&r2=780071&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/webdocs/Comment.jsp (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/webdocs/Comment.jsp Fri May 29 18:59:57 2009
@@ -59,6 +59,9 @@
WikiPage wikipage = wikiContext.getPage();
WikiPage latestversion = wiki.getPage( pagereq );
+
+ session.removeAttribute( EditorManager.REQ_EDITEDTEXT );
+
if( latestversion == null )
{
latestversion = wikiContext.getPage();