mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
ProcessForm: Properly populate element display
This commit is contained in:
parent
fbdfad61d7
commit
dc69522ae5
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,6 @@ class ProcessForm extends QuickForm
|
|||
'description' => $this->translate(
|
||||
'Where to show this process'
|
||||
),
|
||||
'value' => $display,
|
||||
'multiOptions' => array(
|
||||
"$display" => $this->translate('Toplevel Process'),
|
||||
'0' => $this->translate('Subprocess only'),
|
||||
|
|
@ -103,6 +102,7 @@ class ProcessForm extends QuickForm
|
|||
$this->getElement('alias')->setValue($node->getAlias());
|
||||
}
|
||||
$this->getElement('operator')->setValue($node->getOperator());
|
||||
$this->getElement('display')->setValue($node->getDisplay());
|
||||
if ($node->hasInfoUrl()) {
|
||||
$this->getElement('url')->setValue($node->getInfoUrl());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue