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

* godmode/gis_maps/configure_gis_map.php: erase console log in some parts
	in javascript, and fix the fill a hidden input with the levels of zoom in
	a connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-03-01 10:48:38 +00:00
parent 246a33ba02
commit ed57488d98
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: erase console log in some parts
in javascript, and fix the fill a hidden input with the levels of zoom in
a connection.
2010-03-01 Miguel de Dios <miguel.dedios@artica.es> 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: add the default map from Open street map, and set * pandoradb_data.sql: add the default map from Open street map, and set

View File

@ -761,7 +761,6 @@ function setFieldsRequestAjax(id_conexion) {
timeout: 10000, timeout: 10000,
success: function (data) { success: function (data) {
if (data.correct) { if (data.correct) {
console.log(data.content);
$("input[name=map_initial_longitude]").val(data.content.initial_longitude); $("input[name=map_initial_longitude]").val(data.content.initial_longitude);
$("input[name=map_initial_latitude]").val(data.content.initial_latitude); $("input[name=map_initial_latitude]").val(data.content.initial_latitude);
$("input[name=map_initial_altitude]").val(data.content.initial_altitude); $("input[name=map_initial_altitude]").val(data.content.initial_altitude);
@ -769,6 +768,7 @@ function setFieldsRequestAjax(id_conexion) {
$("input[name=map_default_latitude]").val(data.content.default_latitude); $("input[name=map_default_latitude]").val(data.content.default_latitude);
$("input[name=map_default_altitude]").val(data.content.default_altitude); $("input[name=map_default_altitude]").val(data.content.default_altitude);
$("input[name=map_zoom_level]").val(data.content.default_zoom_level); $("input[name=map_zoom_level]").val(data.content.default_zoom_level);
$("input[name=map_levels_zoom]").val(data.content.num_zoom_levels);
} }
} }
}); });