Merge pull request #2123 from willmorgan/forajaxtemplate-session-message

MINOR clear session message whenever forAjaxTemplate is used
This commit is contained in:
Ingo Schommer 2013-07-10 16:04:48 -07:00
commit cc33427218

View File

@ -1426,7 +1426,12 @@ class Form extends RequestHandler {
'Form' 'Form'
)); ));
return $view->dontRewriteHashlinks()->process($this); $return = $view->dontRewriteHashlinks()->process($this);
// Now that we're rendered, clear message
$this->clearMessage();
return $return;
} }
/** /**