Commit d68fd0bf authored by jrockowitz's avatar jrockowitz Committed by jrockowitz

Issue #3000539 by jrockowitz, Bès: Editing a webform submission display the...

Issue #3000539 by jrockowitz, Bès: Editing a webform submission display the "current page" of the submission
parent 52e07616
......@@ -1681,7 +1681,7 @@ class WebformSubmissionForm extends ContentEntityForm {
}
else {
$current_page = $this->entity->getCurrentPage();
if ($current_page && isset($pages[$current_page])) {
if ($current_page && isset($pages[$current_page]) && !$this->entity->isCompleted()) {
$form_state->set('current_page', $current_page);
}
else {
......
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