Repaired set_active // still missing: reload-logic

This commit is contained in:
int2001
2024-02-09 10:20:31 +00:00
parent d1e11455e4
commit d871c6f732

View File

@@ -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) {