/**
  * Post editor decision comments.
  */
 function postEditorDecisionComment()
 {
     $this->validate();
     $this->setupTemplate(true);
     $articleId = Request::getUserVar('articleId');
     // If the user pressed the "Save and email" button, then email the comment.
     $emailComment = Request::getUserVar('saveAndEmail') != null ? true : false;
     $trackSubmissionHandler = new TrackSubmissionHandler();
     $trackSubmissionHandler->validate($articleId);
     $submission =& $trackSubmissionHandler->submission;
     if (AuthorAction::postEditorDecisionComment($submission, $emailComment)) {
         AuthorAction::viewEditorDecisionComments($submission);
     }
 }