mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
TransportConfigForm: Fix default port not changing upon auto-submit
This commit is contained in:
parent
5a0e2ebd5a
commit
6a37583fc7
@ -36,10 +36,11 @@ class ApiTransportForm extends Form
|
|||||||
'number',
|
'number',
|
||||||
'port',
|
'port',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => $this->translate('Port'),
|
'preserveDefault' => true,
|
||||||
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
'label' => $this->translate('Port'),
|
||||||
'value' => 5665
|
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
||||||
|
'value' => 5665
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
@ -145,10 +145,11 @@ class RemoteTransportForm extends Form
|
|||||||
'number',
|
'number',
|
||||||
'port',
|
'port',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => $this->translate('Port'),
|
'preserveDefault' => true,
|
||||||
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
'label' => $this->translate('Port'),
|
||||||
'value' => 22
|
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
||||||
|
'value' => 22
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user