()
| 15 | let __aclSourceId = ''; |
| 16 | |
| 17 | function getFolderAccessSourceId() { |
| 18 | const groupModal = document.getElementById('groupAclModal'); |
| 19 | if (groupModal && groupModal.style.display !== 'none') { |
| 20 | const groupSel = document.getElementById('groupAclSourceSelect'); |
| 21 | const groupId = groupSel && groupSel.value ? String(groupSel.value) : ''; |
| 22 | return groupId || __aclSourceId || ''; |
| 23 | } |
| 24 | const sel = document.getElementById('folderAccessSourceSelect'); |
| 25 | const id = sel && sel.value ? String(sel.value) : ''; |
| 26 | return id || __aclSourceId || ''; |
| 27 | } |
| 28 | |
| 29 | async function loadFolderAccessSources() { |
| 30 | if (__aclSourcesCache) return __aclSourcesCache; |
no outgoing calls
no test coverage detected