mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Wizard: Issue a partial validation only if desired for a certain page
fixes #9306
This commit is contained in:
parent
9c82a24083
commit
e795665421
@ -287,8 +287,10 @@ class Wizard
|
|||||||
$this->setCurrentPage($this->getNewPage($requestedPage, $page));
|
$this->setCurrentPage($this->getNewPage($requestedPage, $page));
|
||||||
$page->getResponse()->redirectAndExit($page->getRedirectUrl());
|
$page->getResponse()->redirectAndExit($page->getRedirectUrl());
|
||||||
}
|
}
|
||||||
} else {
|
} elseif ($page->getValidatePartial()) {
|
||||||
$page->isValidPartial($requestData);
|
$page->isValidPartial($requestData);
|
||||||
|
} else {
|
||||||
|
$page->populate($requestData);
|
||||||
}
|
}
|
||||||
} elseif (($pageData = $this->getPageData($page->getName())) !== null) {
|
} elseif (($pageData = $this->getPageData($page->getName())) !== null) {
|
||||||
$page->populate($pageData);
|
$page->populate($pageData);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user