Commit 61a766d5 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

bugfix URL was not updated when de-selecting virus/host

parent 51d25297
......@@ -127,6 +127,8 @@ function host_changed(pk, checked, do_load_data){
delete mem["host"][pk];
if(do_load_data != false && $('select[name="host"]').parent().find('input[type="checkbox"]:checked').length==0){
load_data();
}else{
update_get_parameter();
}
}
}
......@@ -181,6 +183,8 @@ function virus_changed(pk, checked, do_load_data){
delete mem["virus"][pk];
if(do_load_data != false && $('select[name="virus"]').parent().find('input[type="checkbox"]:checked').length==0){
load_data();
}else{
update_get_parameter();
}
}
}
......
Supports Markdown
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