Index: arms/js/reqAddTable.js =================================================================== diff -u -re97ec92f34c730cc77dca650005649598f1b57ea -r9afc3043896634a5921bcdab6f75f76b5c773a6e --- arms/js/reqAddTable.js (.../reqAddTable.js) (revision e97ec92f34c730cc77dca650005649598f1b57ea) +++ arms/js/reqAddTable.js (.../reqAddTable.js) (revision 9afc3043896634a5921bcdab6f75f76b5c773a6e) @@ -408,7 +408,7 @@ if(data.node === "root"){ selector = `[data-${data.root}="${data[`_${[data.root]}`]}"]`; }else{ - const writer = `[data-writer="${data.writer}"]`; + const writer = `[data-writer="${data._writer}"]`; const version = `[data-version="${data._version}"]`; selector = `${writer}${version}`; } @@ -475,6 +475,7 @@ $tr.setAttribute("data-id", cur.id ?? ""); $tr.setAttribute("data-version", cur._version ?? ""); $tr.setAttribute("data-writer", cur._writer ?? ""); + const radioButtonName = `status_${cur.id}`; Object.keys(ContentType[pivotType]).forEach((key, index) => { const $col = this.makeElement(tag); $col.className = key; @@ -501,6 +502,11 @@ if (pivotType === "version"){ $tr.removeAttribute('data-writer'); } + }else{ + if(['open', 'investigation', 'resolved', 'closeStatus'].includes($col.className)){ + const checkedAttribute = $col.innerHTML === "1" ? " checked" : ""; + $col.innerHTML = ``; + } } if (cur.root === key) {