diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index 84dd207d..e159fd0d 100755 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -133,6 +133,11 @@ class QSO extends CI_Controller { $data['message_contents'] = "QSO Deleted Successfully"; $this->load->view('messages/message', $data); + + // If deletes from /logbook dropdown redirect + if (strpos($_SERVER['HTTP_REFERER'], '/logbook') !== false) { + redirect($_SERVER['HTTP_REFERER']); + } } diff --git a/application/views/view_log/partial/log.php b/application/views/view_log/partial/log.php index a901e5b4..13e325e2 100644 --- a/application/views/view_log/partial/log.php +++ b/application/views/view_log/partial/log.php @@ -69,12 +69,17 @@