mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
33d4142664
commit
1f942acd38
@ -246,6 +246,7 @@ class Wizard extends Page
|
|||||||
$newStep = $this->getProgress() + 1;
|
$newStep = $this->getProgress() + 1;
|
||||||
if (isset($pages[$newStep]) && $pages[$newStep]->getName() === $pageName) {
|
if (isset($pages[$newStep]) && $pages[$newStep]->getName() === $pageName) {
|
||||||
$this->setProgress($newStep);
|
$this->setProgress($newStep);
|
||||||
|
$this->reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -257,6 +258,7 @@ class Wizard extends Page
|
|||||||
$newStep = $this->getProgress() - 1;
|
$newStep = $this->getProgress() - 1;
|
||||||
if ($pages[$newStep]->getName() === $pageName) {
|
if ($pages[$newStep]->getName() === $pageName) {
|
||||||
$this->setProgress($newStep);
|
$this->setProgress($newStep);
|
||||||
|
$this->reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user