diff options
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r-- | bh20simplewebuploader/static/main.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js index a9dfc10..4703047 100644 --- a/bh20simplewebuploader/static/main.js +++ b/bh20simplewebuploader/static/main.js @@ -89,6 +89,10 @@ let fetchCount = () => { fetchAPI("/api/getCount"); } +let fetchCountDB = () => { + fetchAPI("/api/getCountDB"); +} + let fetchSEQCountBySpecimen = () => { fetchAPIV2("/api/getSEQCountbySpecimenSource"); } @@ -191,7 +195,7 @@ function addField(e) { // Increment the number and use the keypath and number to set IDs and cross // references. // TODO: Heavily dependent on the form field HTML. Maybe we want custom - // elements for the labeled controlsd that know how to be list items? + // elements for the labeled controls that know how to be list items? fieldNumber++ newField.dataset.number = fieldNumber let newID = keypath + '[' + fieldNumber + ']' |