2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/javascript/pandora.js: Fix over agent_module_autocomplete
	function due to problems with Chrome.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-09-10 12:54:02 +00:00
parent a40d5f0272
commit a67f4bc3d8
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js: Fix over agent_module_autocomplete
function due to problems with Chrome.
2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php

View File

@ -442,11 +442,15 @@ function agent_changed_by_multiple_agents_id (event, id_agent, selected) {
* @param id_agent_id id of the hidden field to store the agent id
* @param id_agent_module_selector id of the selector for the modules of the agent.
*/
function agent_module_autocomplete (id_agent_name, id_agent_id, id_agent_module_selector, id_server_name, noneValue, homedir = '.') {
function agent_module_autocomplete (id_agent_name, id_agent_id, id_agent_module_selector, id_server_name, noneValue, homedir) {
//Check exist the field with id in the var id_agent_name.
if ($(id_agent_name).length == 0)
return;
homedir_path = '';
if (homedir != undefined)
homedir_path = '.';
$(id_agent_name).autocomplete({
minLength: 2,
source: function( request, response ) {