Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
ViralHostRangeDB
Commits
61a766d5
Commit
61a766d5
authored
Oct 02, 2019
by
Bryan BRANCOTTE
Browse files
bugfix URL was not updated when de-selecting virus/host
parent
51d25297
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/viralhostrange/viralhostrangedb/static/js/browse.js
View file @
61a766d5
...
...
@@ -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
();
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment