mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Move searchconfs also to the new controller
This commit is contained in:
@@ -36,13 +36,6 @@ class Qsl extends CI_Controller {
|
||||
}
|
||||
|
||||
|
||||
public function searchConfirmations() {
|
||||
$this->load->model('qsl_model');
|
||||
$confirmationtype = xss_clean($this->input->post('type'));
|
||||
$data['result'] = $this->qsl_model->getConfirmations($confirmationtype);
|
||||
$this->load->view('qslcard/confirmationresult', $data);
|
||||
}
|
||||
|
||||
public function upload() {
|
||||
// Render Page
|
||||
$data['page_title'] = __("Upload QSL Cards");
|
||||
|
||||
@@ -27,7 +27,7 @@ function getConfirmations() {
|
||||
|
||||
$('#confirmationbutton').prop("disabled", true).addClass("running");
|
||||
$.ajax({
|
||||
url: base_url + 'index.php/qsl/searchConfirmations',
|
||||
url: base_url + 'index.php/generic_qsl/searchConfirmations',
|
||||
type: 'post',
|
||||
data: {'type': $('#confirmationtype').val()},
|
||||
success: function(html) {
|
||||
|
||||
Reference in New Issue
Block a user