mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-6413-check-secciones-wizards-no-funcionan' into 'develop'
Solved issue See merge request artica/pandorafms!3554
This commit is contained in:
commit
e2abe65035
@ -4566,7 +4566,7 @@ class AgentWizard extends HTML
|
|||||||
|
|
||||||
// Definition object.
|
// Definition object.
|
||||||
$definition = [];
|
$definition = [];
|
||||||
// ifHCInOctets.
|
// IfHCInOctets.
|
||||||
$moduleName = $name.'ifHCInOctets';
|
$moduleName = $name.'ifHCInOctets';
|
||||||
$definition['ifHCInOctets'] = [
|
$definition['ifHCInOctets'] = [
|
||||||
'module_name' => $moduleName,
|
'module_name' => $moduleName,
|
||||||
@ -4592,7 +4592,7 @@ class AgentWizard extends HTML
|
|||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
// ifHCOutOctets.
|
// IfHCOutOctets.
|
||||||
$moduleName = $name.'ifHCOutOctets';
|
$moduleName = $name.'ifHCOutOctets';
|
||||||
$definition['ifHCOutOctets'] = [
|
$definition['ifHCOutOctets'] = [
|
||||||
'module_name' => $moduleName,
|
'module_name' => $moduleName,
|
||||||
@ -4618,7 +4618,7 @@ class AgentWizard extends HTML
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
// ifHCInUcastPkts.
|
// IfHCInUcastPkts.
|
||||||
$moduleName = $name.'ifHCInUcastPkts';
|
$moduleName = $name.'ifHCInUcastPkts';
|
||||||
$definition['ifHCInUcastPkts'] = [
|
$definition['ifHCInUcastPkts'] = [
|
||||||
'module_name' => $moduleName,
|
'module_name' => $moduleName,
|
||||||
@ -4644,7 +4644,7 @@ class AgentWizard extends HTML
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
// ifHCOutUcastPkts.
|
// IfHCOutUcastPkts.
|
||||||
$moduleName = $name.'ifHCOutUcastPkts';
|
$moduleName = $name.'ifHCOutUcastPkts';
|
||||||
$definition['ifHCOutUcastPkts'] = [
|
$definition['ifHCOutUcastPkts'] = [
|
||||||
'module_name' => $moduleName,
|
'module_name' => $moduleName,
|
||||||
@ -4669,7 +4669,7 @@ class AgentWizard extends HTML
|
|||||||
'inv_critical' => false,
|
'inv_critical' => false,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
// ifHCInNUcastPkts.
|
// IfHCInNUcastPkts.
|
||||||
$moduleName = $name.'ifHCInNUcastPkts';
|
$moduleName = $name.'ifHCInNUcastPkts';
|
||||||
$definition['ifHCInNUcastPkts'] = [
|
$definition['ifHCInNUcastPkts'] = [
|
||||||
'module_name' => $moduleName,
|
'module_name' => $moduleName,
|
||||||
@ -5034,15 +5034,13 @@ class AgentWizard extends HTML
|
|||||||
var imageInfoModules = $("#image-info-modules-" + blockNumber);
|
var imageInfoModules = $("#image-info-modules-" + blockNumber);
|
||||||
var totalCount = 0;
|
var totalCount = 0;
|
||||||
var markedCount = 0;
|
var markedCount = 0;
|
||||||
var hidden_input = document.getElementById("hidden-module-active-"+switchName[2]+"_"+switchName[3]);
|
|
||||||
var id_input = hidden_input.id.split("_");
|
|
||||||
if (type == 'block') {
|
if (type == 'block') {
|
||||||
selectedBlock
|
selectedBlock
|
||||||
.parent()
|
.parent()
|
||||||
.removeClass("alpha50");
|
.removeClass("alpha50");
|
||||||
if (selectedBlock.prop("checked")) {
|
if (selectedBlock.prop("checked")) {
|
||||||
// Set to active the values of fields.
|
// Set to active the values of fields.
|
||||||
$("[id*='"+id_input[0]+"']")
|
$("[id*=hidden-module-active-"+blockNumber+"]")
|
||||||
.each(function(){
|
.each(function(){
|
||||||
$(this).val('1');
|
$(this).val('1');
|
||||||
});
|
});
|
||||||
@ -5054,7 +5052,7 @@ class AgentWizard extends HTML
|
|||||||
imageInfoModules.removeClass('hidden');
|
imageInfoModules.removeClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
// Set to inactive the values of fields.
|
// Set to inactive the values of fields.
|
||||||
$("[id*='"+id_input[0]+"']")
|
$("[id*=hidden-module-active-"+blockNumber+"]")
|
||||||
.each(function(){
|
.each(function(){
|
||||||
$(this).val('0');
|
$(this).val('0');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user