aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/static/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r--bh20simplewebuploader/static/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js
index a12311e..c0bc23f 100644
--- a/bh20simplewebuploader/static/main.js
+++ b/bh20simplewebuploader/static/main.js
@@ -19,11 +19,11 @@ function toDIVTable(rows) {
html = '<div class="rTable">';
rows.forEach(row => {
id = row['id'];
- seq = row['seq'];
info = row['info'];
html += '<div class="rTableRow">';
html += cell('<a href="'+info+'">'+id+'</a>');
- html += cell('<a href="'+seq+'">FASTA</a>');
+ html += cell('<a href="'+row['collection']+'">Collection</a>');
+ html += cell('<a href="'+row['fasta']+'">FASTA</a>');
html += cell('<a href="/api/ebi/sample-'+id+'.xml">EBI/ENA export XML</a>');
html += '</div>';
});