Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
f8591b3a
Commit
f8591b3a
authored
Jan 21, 2019
by
flothoni
Committed by
Mathieu Giraud
Feb 05, 2019
Browse files
model.js; minor modification of cloneID usage if list a bigger than one
link to
#1292
parent
6c0eca82
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/model.js
View file @
f8591b3a
...
...
@@ -1983,6 +1983,9 @@ changeAlleleNotation: function(alleleNotation) {
buildTagSelector
(
i
);
}
var
separator
=
document
.
createElement
(
'
div
'
);
separator
.
innerHTML
=
"
<hr>
"
var
span1
=
document
.
createElement
(
'
span
'
);
span1
.
appendChild
(
document
.
createTextNode
(
"
normalize to:
"
))
...
...
@@ -1997,8 +2000,9 @@ changeAlleleNotation: function(alleleNotation) {
this
.
norm_button
=
document
.
createElement
(
'
button
'
);
this
.
norm_input
.
id
=
"
norm_button
"
;
this
.
norm_button
.
appendChild
(
document
.
createTextNode
(
"
ok
"
))
this
.
norm_button
.
onclick
=
function
()
{
var
cloneID
=
self
.
cloneID
;
var
cloneID
=
self
.
clone
s
ID
s
[
0
]
;
var
size
=
parseFloat
(
self
.
norm_input
.
value
);
if
(
size
>
0
&&
size
<
1
){
...
...
@@ -2019,10 +2023,12 @@ changeAlleleNotation: function(alleleNotation) {
}
var
div
=
document
.
createElement
(
'
div
'
);
div
.
id
=
"
normalization_expected_input_div
"
div
.
appendChild
(
separator
)
div
.
appendChild
(
span1
)
div
.
appendChild
(
span2
)
div
.
appendChild
(
this
.
norm_button
)
var
li
=
document
.
createElement
(
'
li
'
);
li
.
appendChild
(
div
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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