2010-03-01 Miguel de Dios <miguel.dedios@artica.es>

* godmode/gis_maps/configure_gis_map.php: fix in javascript function
	"setFieldsFormLayer" set the checkbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-03-01 12:15:15 +00:00
parent 8ae77f92d1
commit b8f31434cb
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix in javascript function
"setFieldsFormLayer" set the checkbox.
2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in fuction "getAgentsLayer" fix when none data

View File

@ -557,7 +557,12 @@ function setFieldsFormLayer(layer_name,layer_group, layer_visible_form, agent_li
$("#text-layer_name_form").val(layer_name);
$("#layer_group_form [value="+layer_group+"]").attr("selected",true);
$("#text_id_agent").val('<?php echo __('Select'); ?>');
$("#checkbox-layer_visible_form").attr("checked", layer_visible_form);
if (layer_visible_form == '0') {
$("#checkbox-layer_visible_form").removeAttr("checked");
}
else {
$("#checkbox-layer_visible_form").attr("checked", 'checked');
}
$("#list_agents").empty(); //Clean list agents
loadAgents(agent_list);