Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
4e446d35
Commit
4e446d35
authored
Jan 18, 2017
by
Armand Bour
Committed by
Mikaël Salson
Feb 22, 2017
Browse files
Fix page refreshing when exporting to fasta
parent
c6f9c1a7
Changes
1
Show whitespace changes
Inline
Side-by-side
browser/segmenter_page.js
View file @
4e446d35
...
...
@@ -167,10 +167,17 @@ function disableFeatures(disabled) {
*/
function
prepareButtons
()
{
var
exportFastaBtn
=
document
.
getElementById
(
'
btn_exportfasta
'
);
var
form
=
document
.
getElementById
(
'
form_block
'
);
exportFastaBtn
.
addEventListener
(
'
click
'
,
function
()
{
model
.
exportFasta
();
});
// Prevent submitting form
form
.
addEventListener
(
'
submit
'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
});
}
/**
...
...
Write
Preview
Markdown
is supported
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