mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
earch bearing also converted to POST
This commit is contained in:
parent
a5f7a76290
commit
23f45ee5be
@ -152,7 +152,20 @@ function qso_edit(id) {
|
||||
|
||||
$('#locator').change(function(){
|
||||
if ($(this).val().length >= 4) {
|
||||
$('#locator_info').load(base_url + "index.php/logbook/searchbearing/" + $(this).val() + "/" + $('#stationProfile').val()).fadeIn("slow");
|
||||
$.ajax({
|
||||
url: base_url + 'index.php/logbook/searchbearing',
|
||||
type: 'post',
|
||||
data: {
|
||||
grid: $(this).val(),
|
||||
stationProfile: $('#stationProfile').val()
|
||||
},
|
||||
success: function(data) {
|
||||
$('#locator_info').html(data).fadeIn("slow");
|
||||
},
|
||||
error: function() {
|
||||
$('#locator_info').text("Error loading bearing!").fadeIn("slow");
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
url: base_url + 'index.php/logbook/searchdistance',
|
||||
type: 'post',
|
||||
|
Loading…
Reference in New Issue
Block a user