mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Repaired set_active // still missing: reload-logic
This commit is contained in:
@@ -95,12 +95,10 @@ if($this->session->userdata('user_id') != null) {
|
||||
<script>
|
||||
function set_active_location(current_active, new_active) {
|
||||
$.ajax({
|
||||
url: base_url + 'index.php/station/set_active',
|
||||
url: base_url + 'index.php/station/set_active/' + current_active + '/' + new_active,
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
current: current_active,
|
||||
new: new_active,
|
||||
is_ajax: true
|
||||
},
|
||||
success: function(response) {
|
||||
|
||||
Reference in New Issue
Block a user