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