TransportConfigForm: Fix default port not changing upon auto-submit
This commit is contained in:
parent
5a0e2ebd5a
commit
6a37583fc7
|
@ -37,6 +37,7 @@ class ApiTransportForm extends Form
|
||||||
'port',
|
'port',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
'preserveDefault' => true,
|
||||||
'label' => $this->translate('Port'),
|
'label' => $this->translate('Port'),
|
||||||
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
||||||
'value' => 5665
|
'value' => 5665
|
||||||
|
|
|
@ -146,6 +146,7 @@ class RemoteTransportForm extends Form
|
||||||
'port',
|
'port',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
'preserveDefault' => true,
|
||||||
'label' => $this->translate('Port'),
|
'label' => $this->translate('Port'),
|
||||||
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
'description' => $this->translate('SSH port to connect to on the remote Icinga instance'),
|
||||||
'value' => 22
|
'value' => 22
|
||||||
|
|
Loading…
Reference in New Issue