diff --git a/application/controllers/Hrdlog.php b/application/controllers/Hrdlog.php index 54765111..547458da 100644 --- a/application/controllers/Hrdlog.php +++ b/application/controllers/Hrdlog.php @@ -85,7 +85,7 @@ class Hrdlog extends CI_Controller { } } if ($i == 0) { - $result['status']='OK'; + $result['status']='Error'; } $result['count'] = $i; $result['errormessages'] = $errormessages; @@ -147,7 +147,7 @@ class Hrdlog extends CI_Controller { echo json_encode($data); } else { $data['status'] = 'Error'; - $data['info'] = 'Error: No QSOs found to upload.'; + $data['info'] = 'No QSOs found to upload.'; $data['errormessages'] = $result['errormessages']; echo json_encode($data); } diff --git a/assets/js/sections/hrdlog.js b/assets/js/sections/hrdlog.js index 67153685..bf7779d2 100644 --- a/assets/js/sections/hrdlog.js +++ b/assets/js/sections/hrdlog.js @@ -24,7 +24,7 @@ function ExportHrd(station_id) { $(".card-body").append('