Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
8e66844c
Commit
8e66844c
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in removeFromSelection, used by filter badge remove icon
Former-commit-id: fc18b928a6024bf79ba3cdbb7131392c925ab96a
parent
6ad42f4b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/templates/base.html
+1
-1
1 addition, 1 deletion
ippisite/ippidb/templates/base.html
with
1 addition
and
1 deletion
ippisite/ippidb/templates/base.html
+
1
−
1
View file @
8e66844c
...
...
@@ -45,7 +45,7 @@
var
removeFromSelection
=
function
(
paramName
,
value
){
var
url
=
new
URL
(
location
.
href
);
var
selectedValues
=
url
.
searchParams
.
getAll
(
paramName
);
selectedValues
.
splice
(
selectedValues
.
indexOf
(
value
));
selectedValues
.
splice
(
selectedValues
.
indexOf
(
value
)
,
1
);
modifyUrl
(
paramName
,
selectedValues
);
}
var
multiselectTypeAhead
=
function
(
idSearch
,
selection
,
onSelect
){
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment