(name)
| 72 | // ---- ONLYOFFICE integration ----------------------------------------------- |
| 73 | |
| 74 | function getExt(name) { const i = name.lastIndexOf('.'); return i >= 0 ? name.slice(i + 1).toLowerCase() : ''; } |
| 75 | |
| 76 | // Cache OO capabilities (enabled flag + ext list) from /api/onlyoffice/status.php |
| 77 | let __ooCaps = { enabled: false, exts: new Set(), fetched: false, docsOrigin: null }; |
no outgoing calls
no test coverage detected