()
| 299 | ]; |
| 300 | |
| 301 | function portalFileModalsToBody() { |
| 302 | FILE_MODAL_IDS.forEach(id => { |
| 303 | const el = document.getElementById(id); |
| 304 | if (el && el.parentNode !== document.body) { |
| 305 | document.body.appendChild(el); |
| 306 | } |
| 307 | }); |
| 308 | } |
| 309 | |
| 310 | function getSelectedFileObjects() { |
| 311 | const selected = getActiveSelectedFileCheckboxes().map(cb => cb.value); |