diff options
author | Pjotr Prins | 2020-05-16 10:14:13 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-05-16 10:14:13 -0500 |
commit | 2d201e156d530e5e912252c4300245da382b846e (patch) | |
tree | a2cb50022c93b5f508d47b6ece99a0063c92687e /bh20simplewebuploader/static | |
parent | 6dc16e60eb16cddb3ca1528561734e44507bf1cc (diff) | |
download | bh20-seq-resource-2d201e156d530e5e912252c4300245da382b846e.tar.gz bh20-seq-resource-2d201e156d530e5e912252c4300245da382b846e.tar.lz bh20-seq-resource-2d201e156d530e5e912252c4300245da382b846e.zip |
Counting number of sequences
Diffstat (limited to 'bh20simplewebuploader/static')
-rw-r--r-- | bh20simplewebuploader/static/main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js index 7084e1f..bf95832 100644 --- a/bh20simplewebuploader/static/main.js +++ b/bh20simplewebuploader/static/main.js @@ -18,6 +18,10 @@ let search = () => { fetchAPI(scriptRoot + "/api/getDetailsForSeq?seq=" + encodeURIComponent(m)); } +let fetchCount = () => { + fetchAPI("/api/getCount"); +} + let fetchSEQBySpecimen = () => { fetchAPI("/api/getSEQCountbySpecimenSource"); } @@ -160,7 +164,6 @@ for (let button of document.getElementsByClassName('remove-field')) { } // Change the submit button after hitting - function on_submit_button() { var elem = document.getElementById("submit"); elem.value = "Submitting..."; |