aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/static/main.js
diff options
context:
space:
mode:
authorPjotr Prins2020-05-16 12:08:30 -0500
committerPjotr Prins2020-05-16 12:08:30 -0500
commitf1d0f4faa2cc4496f5e0df679db0e716ceeac5b2 (patch)
treeb55dfc341837b648dfadb8b4acf8c58a631d0c19 /bh20simplewebuploader/static/main.js
parent9b9420725094a49c7f2cf670da4e2d469b12d40e (diff)
downloadbh20-seq-resource-f1d0f4faa2cc4496f5e0df679db0e716ceeac5b2.tar.gz
bh20-seq-resource-f1d0f4faa2cc4496f5e0df679db0e716ceeac5b2.tar.lz
bh20-seq-resource-f1d0f4faa2cc4496f5e0df679db0e716ceeac5b2.zip
Move globales into from - fixes data field form visibility again
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r--bh20simplewebuploader/static/main.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js
index bf95832..024a101 100644
--- a/bh20simplewebuploader/static/main.js
+++ b/bh20simplewebuploader/static/main.js
@@ -50,10 +50,6 @@ let fetchAllaccessions = () => {
* may not expect.
*/
-let uploadForm = document.getElementById('metadata_upload_form')
-let uploadFormSpot = document.getElementById('metadata_upload_form_spot')
-let fillForm = document.getElementById('metadata_fill_form')
-let fillFormSpot = document.getElementById('metadata_fill_form_spot')
function setUploadMode() {
// Make the upload form the one in use.
@@ -87,7 +83,6 @@ function setMode() {
// have set the radio button to whatever the state was on last page load,
// instead of the default state, without raising an event, and we have to
// handle that.
-setMode()
/**
* Add another form field to the group this button is part of.