test kill

pull/87/head
liuzheng712 2016-02-25 21:00:48 +08:00
parent 23d4c926b7
commit eb161b978a
1 changed files with 8 additions and 6 deletions

View File

@ -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 %}