| 146 | |
| 147 | // Allows arrays to reflect Drag and Drop items |
| 148 | function rebuildArrays() { |
| 149 | backlogListArray = []; |
| 150 | for (let i = 0; i < backlogListEl.children.length; i++) { |
| 151 | backlogListArray.push(backlogListEl.children[i].textContent); |
| 152 | } |
| 153 | progressListArray = []; |
| 154 | for (let i = 0; i < progressListEl.children.length; i++) { |
| 155 | progressListArray.push(progressListEl.children[i].textContent); |
| 156 | } |
| 157 | completeListArray = []; |
| 158 | for (let i = 0; i < completeListEl.children.length; i++) { |
| 159 | completeListArray.push(completeListEl.children[i].textContent); |
| 160 | } |
| 161 | onHoldListArray = []; |
| 162 | for (let i = 0; i < onHoldListEl.children.length; i++) { |
| 163 | onHoldListArray.push(onHoldListEl.children[i].textContent); |
| 164 | } |
| 165 | updateDOM(); |
| 166 | } |
| 167 | |
| 168 | // When Item Enters Column Area |
| 169 | function dragEnter(column) { |