From 1f942acd38a4ef5a1655cc17badc639aecbe2d24 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 14 May 2014 11:03:16 +0200 Subject: [PATCH] Fix multistep page creation refs #6136 --- library/Icinga/Web/Wizard/Wizard.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Icinga/Web/Wizard/Wizard.php b/library/Icinga/Web/Wizard/Wizard.php index 2129dac79..6be831ae8 100644 --- a/library/Icinga/Web/Wizard/Wizard.php +++ b/library/Icinga/Web/Wizard/Wizard.php @@ -246,6 +246,7 @@ class Wizard extends Page $newStep = $this->getProgress() + 1; if (isset($pages[$newStep]) && $pages[$newStep]->getName() === $pageName) { $this->setProgress($newStep); + $this->reset(); } } } @@ -257,6 +258,7 @@ class Wizard extends Page $newStep = $this->getProgress() - 1; if ($pages[$newStep]->getName() === $pageName) { $this->setProgress($newStep); + $this->reset(); } } }