Fixed agents/modules report. Ticket #4183
This commit is contained in:
parent
0c8f5ad8e3
commit
d9c64e2066
|
@ -1859,6 +1859,7 @@ $(document).ready (function () {
|
|||
function (data, status) {
|
||||
$("#id_agents").html('');
|
||||
$("#id_agents2").html('');
|
||||
$("#module").html('');
|
||||
jQuery.each (data, function (id, value) {
|
||||
// Remove keys_prefix from the index
|
||||
id = id.substring(1);
|
||||
|
|
|
@ -950,7 +950,7 @@ switch ($action) {
|
|||
$good_format = true;
|
||||
break;
|
||||
case 'agent_module':
|
||||
$es['id_agents'] = get_parameter('id_agents');
|
||||
$es['id_agents'] = get_parameter('id_agents2');
|
||||
$es['module'] = get_parameter('module', "");
|
||||
$values['external_source'] = json_encode($es);
|
||||
$good_format = true;
|
||||
|
|
Loading…
Reference in New Issue