diff --git a/application/controllers/Logbookadvanced.php b/application/controllers/Logbookadvanced.php
index f05f1b32b..246d0c9f7 100644
--- a/application/controllers/Logbookadvanced.php
+++ b/application/controllers/Logbookadvanced.php
@@ -935,6 +935,7 @@ class Logbookadvanced extends CI_Controller {
$this->load->model('logbookadvanced_model');
$data['dxcc'] = $this->input->post('dxcc', true);
+ $data['country'] = $this->input->post('country', true);
// Process for batch QSO state fix
$data['qsos'] = $this->logbookadvanced_model->getStateListQsos($data['dxcc']);
diff --git a/application/views/logbookadvanced/showStateQsos.php b/application/views/logbookadvanced/showStateQsos.php
index 40cccce3d..79ad64c8a 100644
--- a/application/views/logbookadvanced/showStateQsos.php
+++ b/application/views/logbookadvanced/showStateQsos.php
@@ -2,7 +2,7 @@
0): ?>
-
+
diff --git a/application/views/logbookadvanced/statecheckresult.php b/application/views/logbookadvanced/statecheckresult.php
index 84ed48f0d..ab6c61d62 100644
--- a/application/views/logbookadvanced/statecheckresult.php
+++ b/application/views/logbookadvanced/statecheckresult.php
@@ -29,7 +29,7 @@
-
+
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js
index 8922043bd..62b326fa3 100644
--- a/assets/js/sections/logbookadvanced.js
+++ b/assets/js/sections/logbookadvanced.js
@@ -2196,14 +2196,15 @@ function saveOptions() {
});
}
- function openStateList(dxcc) {
+ function openStateList(dxcc, country) {
$('#openStateListBtn_' + dxcc).prop("disabled", true).addClass("running");
$.ajax({
url: base_url + 'index.php/logbookadvanced/OpenStateList',
type: 'post',
data: {
- 'dxcc': dxcc
+ 'dxcc': dxcc,
+ 'country': country
},
success: function (response) {
$('#openStateListBtn_' + dxcc).prop("disabled", false).removeClass("running");