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
7d14657b
Commit
7d14657b
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
correct the compound tab le-lle biplot navigation function.
Former-commit-id: badfa42f28deaf1a7b2ca206f9052aded8a7b5e4
parent
e2534c97
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
+2
-1
2 additions, 1 deletion
ippisite/ippidb/templates/base.html
with
2 additions
and
1 deletion
ippisite/ippidb/templates/base.html
+
2
−
1
View file @
7d14657b
...
@@ -147,8 +147,9 @@
...
@@ -147,8 +147,9 @@
});
});
document
.
getElementById
(
canvasId
).
onclick
=
function
(
evt
){
document
.
getElementById
(
canvasId
).
onclick
=
function
(
evt
){
var
activePoints
=
scatterChart
.
getElementAtEvent
(
evt
);
var
activePoints
=
scatterChart
.
getElementAtEvent
(
evt
);
var
datasetIndex
=
activePoints
[
0
].
_datasetIndex
;
var
selectedIndex
=
activePoints
[
0
].
_index
;
var
selectedIndex
=
activePoints
[
0
].
_index
;
var
id
=
scatterChart
.
data
.
datasets
[
0
].
data
[
selectedIndex
].
id
;
var
id
=
scatterChart
.
data
.
datasets
[
datasetIndex
].
data
[
selectedIndex
].
id
;
window
.
location
=
'
/compound/
'
+
id
;
window
.
location
=
'
/compound/
'
+
id
;
};
};
};
};
...
...
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