mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
H&D minor fix - visual
Former-commit-id: 57d1e3c62192d9568bfa4db11658e31a8d811a3a
This commit is contained in:
parent
e04a61df98
commit
c62c01c4a0
@ -740,7 +740,7 @@ class HostDevices extends Wizard
|
|||||||
|
|
||||||
// SNMP CONFIGURATION.
|
// SNMP CONFIGURATION.
|
||||||
$form['inputs'][] = [
|
$form['inputs'][] = [
|
||||||
'hidden' => 0,
|
'hidden' => 1,
|
||||||
'block_id' => 'snmp_extra',
|
'block_id' => 'snmp_extra',
|
||||||
'block_content' => [
|
'block_content' => [
|
||||||
[
|
[
|
||||||
@ -995,10 +995,12 @@ class HostDevices extends Wizard
|
|||||||
function SNMPExtraShow(target) {
|
function SNMPExtraShow(target) {
|
||||||
$("#snmp_options_basic").hide();
|
$("#snmp_options_basic").hide();
|
||||||
$("#snmp_options_v3").hide();
|
$("#snmp_options_v3").hide();
|
||||||
if (target == 3) {
|
if (document.getElementsByName("snmp_enabled")[0].checked) {
|
||||||
$("#snmp_options_v3").show();
|
if (target == 3) {
|
||||||
} else {
|
$("#snmp_options_v3").show();
|
||||||
$("#snmp_options_basic").show();
|
} else {
|
||||||
|
$("#snmp_options_basic").show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user