Removed dropdown site testing alerts and jQuery stuff
rodzic
146385bb8e
commit
3426f76518
|
@ -112,14 +112,10 @@ function showMousePos(GLatLng) {
|
||||||
function populateLaunchSite() {
|
function populateLaunchSite() {
|
||||||
$("#site > option").remove();
|
$("#site > option").remove();
|
||||||
$.getJSON("sites.json", function(sites) {
|
$.getJSON("sites.json", function(sites) {
|
||||||
//alert("Trying to populate launch sites...");
|
|
||||||
$.each(sites, function(sitename, site) {
|
$.each(sites, function(sitename, site) {
|
||||||
//$("#site").append($('<option></option>').val(sitename).html(sitename));
|
|
||||||
$("<option>").attr("value", sitename).text(sitename).appendTo("#site");
|
$("<option>").attr("value", sitename).text(sitename).appendTo("#site");
|
||||||
});
|
});
|
||||||
//$("#site").append($('<option></option>').val("Other").html("Other"));
|
|
||||||
$("<option>").attr("value", "Other").text("Other").appendTo("#site");
|
$("<option>").attr("value", "Other").text("Other").appendTo("#site");
|
||||||
//alert("Done populating list");
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
|
|
Ładowanie…
Reference in New Issue