Commit 9fb7e375 authored by vermario's avatar vermario Committed by Kingdutch

Issue #2980480 by vermario: Validation errors in forms are not really cleared...

Issue #2980480 by vermario: Validation errors in forms are not really cleared when analysis is performed
parent 3c022ea2
......@@ -88,7 +88,7 @@ class AnalysisFormHandler implements EntityHandlerInterface {
// rendered. Any new messages are from form validation. We don't want to
// leak those to the user because they'll get them during normal submission
// so we clear them here.
$this->messenger->all();
$this->messenger->deleteAll();
$response = new AjaxResponse();
$response->addCommand(new InvokeCommand('body', 'trigger', ['updateSeoData', $entity_data]));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment