Fixed agents/modules report. Ticket #4183

This commit is contained in:
Arturo Gonzalez 2016-12-19 13:06:07 +01:00
parent 0c8f5ad8e3
commit d9c64e2066
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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;