0e4f88897ef3a4bb310a5d9cf85ddcc7b9ac4bc9 hiram Wed Feb 16 20:15:17 2022 -0800 modal page variable names need to be id unique refs #28930 diff --git src/hg/js/gar.js src/hg/js/gar.js index b6db716..eec2e3d 100644 --- src/hg/js/gar.js +++ src/hg/js/gar.js @@ -3,35 +3,35 @@ //// gar - genArkRequest 2022-02 /// //// this 'var gar' is the 'namespace' for these functions /// //// everything can be referenced via gar.name for functions or /// //// variables /// /////////////////////////////////////////////////////////////////////// var gar = { modalWrapper: document.getElementById("modalWrapper"), modalWindow: document.getElementById("modalWindow"), modalForm: document.getElementById("modalFeedback"), queryString: '', // and a query object with keys arg name and value the paired tag urlParams: null, submitButton: document.getElementById("submitButton"), garStatus: document.getElementById("garStatus"), - asmIdText: document.getElementById("asmId"), + asmIdText: document.getElementById("formAsmId"), commonName: document.getElementById("commonName"), betterCommonName: document.getElementById("betterCommonName"), comment: document.getElementById("comment"), - sciName: document.getElementById("sciName"), + sciName: document.getElementById("formSciName"), onLoadTime: new Date(), garEndTime: new Date(), // recent improvement has reduced this to a single table, no longer // split up by clades cladeTableList: document.getElementsByClassName("cladeTable"), columnCheckBoxItems: document.getElementById('columnCheckBoxItems'), // text box that says: visible rows: 123,456 counterDisplay: document.getElementById("counterDisplay"), // perfDisplay: document.getElementById("perfDisplay"), completedAsmId: new Map(), columnNames: new Map(), // key is name, value is column number [0..n) checkBoxNames: new Map(), // key is name, value is the checkbox object // going to record the original button labels so they can be augmented // with count information here checkBoxLabels: new Map(), // key is name, value is the original button label