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:
parent
8ae77f92d1
commit
b8f31434cb
|
@ -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>
|
2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_gis.php: in fuction "getAgentsLayer" fix when none data
|
* include/functions_gis.php: in fuction "getAgentsLayer" fix when none data
|
||||||
|
|
|
@ -557,7 +557,12 @@ function setFieldsFormLayer(layer_name,layer_group, layer_visible_form, agent_li
|
||||||
$("#text-layer_name_form").val(layer_name);
|
$("#text-layer_name_form").val(layer_name);
|
||||||
$("#layer_group_form [value="+layer_group+"]").attr("selected",true);
|
$("#layer_group_form [value="+layer_group+"]").attr("selected",true);
|
||||||
$("#text_id_agent").val('<?php echo __('Select'); ?>');
|
$("#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
|
$("#list_agents").empty(); //Clean list agents
|
||||||
|
|
||||||
loadAgents(agent_list);
|
loadAgents(agent_list);
|
||||||
|
|
Loading…
Reference in New Issue