Author: fpunt Date: 2010-04-26 16:44:22 +0200 (Mon, 26 Apr 2010) New Revision: 42046
Modified: CMSContainer/branches/b1_7/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms/NewsletterPublicationPublish.java Log: CMSC-1671 Solved, the confirm was not working nicely. Modified: CMSContainer/branches/b1_7/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms/NewsletterPublicationPublish.java =================================================================== --- CMSContainer/branches/b1_7/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms/NewsletterPublicationPublish.java 2010-04-26 14:44:02 UTC (rev 42045) +++ CMSContainer/branches/b1_7/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms/NewsletterPublicationPublish.java 2010-04-26 14:44:22 UTC (rev 42046) @@ -47,6 +47,11 @@ private static final String ACTION_CANCEL = "cancel"; /** + * name of submit button in jsp to confirm + */ + private static final String ACTION_CONFIRM = "confirm"; + + /** * System property to allow skipping the Freeze or Approve action */ public static final String NEWSLETTER_FREEZE_PROPERTY = "newsletter.workflow.allow.skip.freezing"; @@ -130,7 +135,7 @@ } private boolean isSendAction(HttpServletRequest request) { - return getParameter(request, ACTION_REMOVE) != null; + return getParameter(request, ACTION_CONFIRM) != null || getParameter(request, ACTION_REMOVE) != null; } } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs