02af9dedd3443875fc2b3eee09c48a5e6f85b1c3
chmalee
  Wed Nov 6 15:27:22 2024 -0800
Start of work on optional subdir and hubName metadata for hubtools uploads

diff --git src/hg/js/hgMyData.js src/hg/js/hgMyData.js
index 0e0b485..57e6bf0 100644
--- src/hg/js/hgMyData.js
+++ src/hg/js/hgMyData.js
@@ -931,31 +931,31 @@
                     // I can't append to the actual Dashboard-files, it must be getting emptied
                     // and re-rendered or something
                     let uppyFilesDiv = document.querySelector(".uppy-Dashboard-progressindicators");
                     if (uppyFilesDiv) {
                         uppyFilesDiv.insertBefore(batchSelectDiv, uppyFilesDiv.firstChild);
                     }
                 }
             }
 
             install() {
                 this.uppy.on("file-added", (file) => {
                     // add default meta data for genome and fileType
                     console.log("file-added");
                     this.uppy.setFileMeta(file.id, {"genome": defaultDb(), "fileType": defaultFileType(file.name)});
                     if (this.uppy.getFiles().length > 1) {
-                        this.addBatchSelectsToDashboard()
+                        this.addBatchSelectsToDashboard();
                     }
                 });
                 this.uppy.on("file-removed", (file) => {
                     // remove the batch change selects if now <2 files present
                     if (this.uppy.getFiles().length < 2) {
                         this.removeBatchSelectsFromDashboard();
                     }
                 });
 
                 this.uppy.on("dashboard:modal-open", () => {
                     // check if there were already files chosen from before:
                     if (this.uppy.getFiles().length > 2) {
                         this.addBatchSelectsToDashboard();
                     }
                     if (this.uppy.getFiles().length < 2) {