Fi browser console reporting errors

This commit is contained in:
Luis 2022-12-13 20:08:04 +01:00
parent 1ebe09698b
commit ad39ca397e
1 changed files with 8 additions and 5 deletions

View File

@ -678,13 +678,16 @@ function show_add_module() {
//Submit form to agent module url.
$("#snmp_create_module").attr(
"action",
"index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente="+id_agent+"&tab=module&edit_module=1");
"index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente="
+id_agent+
"&tab=module&edit_module=1"
);
$('#snmp_create_module').submit();
//Close dialog.
$('#dialog_create_module').dialog("close");
},
onDeny: function () {
$("#dialog_create_module").dialog("close");
return false;
}
});
}