2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/agentes/ver_agente.php: Added callback function
	for JQuery requests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-06-06 16:22:30 +00:00
parent f0d7ba1a15
commit f27ddd9e5e
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php: Added callback function
for JQuery requests.
2011-06-06 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/manage_recontask.php

View File

@ -42,7 +42,8 @@ if (is_ajax ()) {
$get_agent_modules_json_for_multiple_agents_id = (bool) get_parameter("get_agent_modules_json_for_multiple_agents_id");
$get_agentmodule_status_tooltip = (bool) get_parameter ("get_agentmodule_status_tooltip");
$get_group_status_tooltip = (bool) get_parameter ("get_group_status_tooltip");
$get_agent_id = (bool) get_parameter ("get_agent_id");
if ($get_agents_group_json) {
$id_group = (int) get_parameter('id_group');
@ -343,7 +344,7 @@ if (is_ajax ()) {
return;
}
if ($get_agentmodule_status_tooltip) {
if ($get_agentmodule_status_tooltip) {
$id_module = (int) get_parameter ('id_module');
$module = db_get_row ('tagente_modulo', 'id_agente_modulo', $id_module);
echo '<h3>';
@ -397,6 +398,13 @@ if (is_ajax ()) {
return;
}
if ($get_agent_id){
$agent_name = (string) get_parameter ("agent_name");
echo agents_get_agent_id ($agent_name);
return;
}
return;
}