kopia lustrzana https://github.com/magicbug/Cloudlog
Contest Logging: Stores country and QRA lookup for bearing added
rodzic
2823e8ada1
commit
797e6519cf
|
@ -306,12 +306,12 @@ function settime () {
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<input size="20" id="country" type="text" name="country" value="" /> <span id="locator_info"></span>
|
<input size="20" id="country" type="text" name="country" value="" /> <span id="locator_info"></span>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -331,6 +331,8 @@ $(document).ready(function(){
|
||||||
$("#callsign").keyup(function(){
|
$("#callsign").keyup(function(){
|
||||||
if ($(this).val()) {
|
if ($(this).val()) {
|
||||||
$('#partial_view').load("<?php echo site_url(); ?>//logbook/partial/" + $(this).val()).fadeIn("slow");
|
$('#partial_view').load("<?php echo site_url(); ?>//logbook/partial/" + $(this).val()).fadeIn("slow");
|
||||||
|
|
||||||
|
$('#locator_info').load("<?php echo site_url(); ?>/logbook/bearing/" + $(this).val()).fadeIn("slow");
|
||||||
|
|
||||||
$.get('<?php echo site_url(); ?>/logbook/find_dxcc/' + $(this).val(), function(result) {
|
$.get('<?php echo site_url(); ?>/logbook/find_dxcc/' + $(this).val(), function(result) {
|
||||||
$('#country').val(result);
|
$('#country').val(result);
|
||||||
|
|
Ładowanie…
Reference in New Issue