Removed UpdateLaunchSite() which is now an unused function

pull/73/head
jonsowman 2010-06-20 17:18:30 +01:00
rodzic 1097193c5b
commit d89ada0cdb
1 zmienionych plików z 1 dodań i 29 usunięć

Wyświetl plik

@ -510,7 +510,7 @@ function appendDebug(appendage, clear) {
}
// keep the debug window scrolled to bottom
scrollToBottom("scenario_template");
}
}
function scrollToBottom(div_id) {
$("#"+div_id).animate({scrollTop: $("#"+div_id)[0].scrollHeight});
@ -666,34 +666,6 @@ function POSIXtoHM(timestamp) {
return str;
}
// launch site dropdown switcher
function UpdateLaunchSite(id) {
txtLat = document.getElementById("lat");
txtLon = document.getElementById("lon");
switch (id) {
case 0: // Churchill
txtLat.value = "52.2135";
txtLon.value = "0.0964";
break;
case 1: // EARS
txtLat.value = "52.2511";
txtLon.value = "-0.0927";
break;
case 2: // Glenrothes (SpeedEvil)
txtLat.value = "56.13";
txtLon.value = "-3.06";
break;
case 3: // Bujaraloz, Monegros (gerard)
txtLat.value = "41.495773";
txtLon.value = "-0.157968";
break;
case 4: // Adelaide (Juxta)
txtLat.value = "-34.9499";
txtLon.value = "138.5194";
}
}
function SetSiteOther() {
$("#site").val("Other");
}