[gatewiki-commits] SF.net SVN: gatewiki:[1783] trunk/cow/grails-app/controllers/PageController .groovy

View: New views
1 Messages — Rating Filter:   Alert me  

[gatewiki-commits] SF.net SVN: gatewiki:[1783] trunk/cow/grails-app/controllers/PageController .groovy

by ian_roberts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1783
          http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1783&view=rev
Author:   ian_roberts
Date:     2009-10-30 13:48:43 +0000 (Fri, 30 Oct 2009)

Log Message:
-----------
Store the commit message in the flow when going back from preview to edit.

Modified Paths:
--------------
    trunk/cow/grails-app/controllers/PageController.groovy

Modified: trunk/cow/grails-app/controllers/PageController.groovy
===================================================================
--- trunk/cow/grails-app/controllers/PageController.groovy 2009-10-30 13:45:47 UTC (rev 1782)
+++ trunk/cow/grails-app/controllers/PageController.groovy 2009-10-30 13:48:43 UTC (rev 1783)
@@ -500,6 +500,7 @@
     preview {
       on("back") {
         flow.editInput = flow.editOutput
+        flow.commitMessage = params.commitMessage
       }.to "edit"
       on("save") {
         flow.commitMessage = params.commitMessage


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits