kopia lustrzana https://github.com/magicbug/Cloudlog
Fixed annoying locator bug in js code
rodzic
2c098c480c
commit
5512f1e418
|
|
@ -330,12 +330,12 @@ function settime () {
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Find Locator if the field is empty */
|
/* Find Locator if the field is empty */
|
||||||
if($('#locator').val() == "") {
|
if($('#locator').val() != null) {
|
||||||
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
|
$.get('logbook/callsign_qra/' + $(this).val(), function(result) {
|
||||||
$('#locator').val(result);
|
$('#locator').val(result);
|
||||||
|
$('#locator_info').load("logbook/bearing/" + result).fadeIn("slow");
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#locator_info').load("logbook/bearing/" + $(this).val()).fadeIn("slow");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Find Operators Name */
|
/* Find Operators Name */
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,8 @@ td.item { padding-bottom: 5px; }
|
||||||
#country { border: none; }
|
#country { border: none; }
|
||||||
#locator_info { font-size: 13px; }
|
#locator_info { font-size: 13px; }
|
||||||
#name { width: 208px; }
|
#name { width: 208px; }
|
||||||
#comment { width: 63.8%; }
|
#comment { width: 63.7%; }
|
||||||
#qth { width: 20%; }
|
#qth { width: 19%; }
|
||||||
.rst { width: 45px; }
|
.rst { width: 45px; }
|
||||||
.partial td, .logbook td, .users td { padding: 5px; }
|
.partial td, .logbook td, .users td { padding: 5px; }
|
||||||
.log_title { background-image: url('../images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
|
.log_title { background-image: url('../images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue