Commit 354a7570 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Delete session from tree of sessions explorer when we click on the delet button (#63)

parent 164ff62b
......@@ -20,6 +20,9 @@ function del(id) {
dataType:'html',
success:function(data){
$('#data').html(data);
// Delete session from tree
$('#uid'+id).remove();
$('#ip'+id).remove();
},
error:function(xhr, ajaxOptions, thrownError){
$('#data').html('<h3>Request failed</h3> Error code: '+xhr.status+', '+thrownError);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment