Fixed annoying locator bug in js code

pull/106/merge
Peter Goodhall 2011-11-05 22:41:04 +00:00
rodzic 2c098c480c
commit 5512f1e418
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -330,12 +330,12 @@ function settime () {
});
/* Find Locator if the field is empty */
if($('#locator').val() == "") {
if($('#locator').val() != null) {
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
$('#locator').val(result);
$('#locator_info').load("logbook/bearing/" + result).fadeIn("slow");
});
$('#locator_info').load("logbook/bearing/" + $(this).val()).fadeIn("slow");
}
/* Find Operators Name */

Wyświetl plik

@ -74,8 +74,8 @@ td.item { padding-bottom: 5px; }
#country { border: none; }
#locator_info { font-size: 13px; }
#name { width: 208px; }
#comment { width: 63.8%; }
#qth { width: 20%; }
#comment { width: 63.7%; }
#qth { width: 19%; }
.rst { width: 45px; }
.partial td, .logbook td, .users td { padding: 5px; }
.log_title { background-image: url('../images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }