(path)
| 177 | } |
| 178 | |
| 179 | function buildShareUrl(path) { |
| 180 | const urlParams = new URLSearchParams(window.location.search || ''); |
| 181 | const pass = urlParams.get('pass') || ''; |
| 182 | const passParam = pass ? '&pass=' + encodeURIComponent(pass) : ''; |
| 183 | const p = path ? '&path=' + encodeURIComponent(path) : ''; |
| 184 | return withBasePath('/api/folder/shareFolder.php?token=' + encodeURIComponent(token) + passParam + p); |
| 185 | } |
| 186 | |
| 187 | function renderBreadcrumbs() { |
| 188 | if (!breadcrumbsEl) return; |
no test coverage detected