Clearing the session message whenever forAJAXTemplate is used.

This commit is contained in:
Will Morgan 2013-06-19 13:56:43 +01:00
parent 94b4237372
commit a99b430fec

View File

@ -1407,7 +1407,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;
} }
/** /**