diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php
index e8df3659..33b54109 100644
--- a/application/controllers/Awards.php
+++ b/application/controllers/Awards.php
@@ -493,13 +493,13 @@ class Awards extends CI_Controller {
$this->load->view('adif/data/exportall', $data);
}
- public function was_map() {
+ public function was_map($band_type) {
$this->load->model('was');
$data['worked_bands'] = $this->was->get_worked_bands();
- $bands[] = 'SAT';
+ $bands[] = $band_type;
$data['bands'] = $bands; // Used for displaying selected band(s) in the table in the view
@@ -509,7 +509,7 @@ class Awards extends CI_Controller {
$postdata['worked'] = 1;
$postdata['confirmed'] = 1;
$postdata['notworked'] = 1;
- $postdata['band'] = 'SAT';
+ $postdata['band'] = $band_type;
$data['was_array'] = $this->was->get_was_array($bands, $postdata);
diff --git a/application/views/awards/was/index.php b/application/views/awards/was/index.php
index 4aa86cd0..2d609fa6 100644
--- a/application/views/awards/was/index.php
+++ b/application/views/awards/was/index.php
@@ -66,12 +66,8 @@
- input->post('band') == "SAT") { ?>
-
- Show WAS Map
-
-
-
+ input->post('band')) { ?>
+
input->post('band'); ?>)',
cssClass: 'was-map-dialog',
- message: $('