mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-06 19:38:54 +00:00
test kill
This commit is contained in:
parent
23d4c926b7
commit
eb161b978a
@ -216,12 +216,14 @@
|
|||||||
var g_url = "{% url 'log_kill' %}?id=" + num;
|
var g_url = "{% url 'log_kill' %}?id=" + num;
|
||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
{# $.ajax({#}
|
||||||
type: "GET",
|
{# type: "GET",#}
|
||||||
url: g_url+"&sessionid={{ session_id }}",
|
{# url: g_url+"&sessionid={{ session_id }}",#}
|
||||||
success: window.open("{% url 'log_list' 'online' %}", "_self")
|
{# success: window.open("{% url 'log_list' 'online' %}", "_self")#}
|
||||||
});
|
{# });#}
|
||||||
|
$.get(g_url+"&sessionid={{ session_id }}", function () {
|
||||||
|
window.open("{% url 'log_list' 'online' %}", "_self")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user