Folder-Browser für Workspace-Auswahl, Layout/Style Anpassungen

This commit is contained in:
Meleki committed 2026-02-27 09:43:58 +01:00
1 parent f4ad949db4
commit aa2d9f1200
6 files changed
+179 -23

No files matched your search

+13
View File
@@ -79,6 +79,19 @@ registerPage('session', {
imageInput.value = '';
});
// Workspace Browse
const workspaceBrowse = document.getElementById('sessionWorkspaceBrowse');
if (workspaceBrowse) {
workspaceBrowse.addEventListener('click', () => {
openFolderBrowser({
startPath: workspaceEl.value.trim() || '/',
onSelect(path) {
workspaceEl.value = path;
}
});
});
}
// Speichern
saveBtn.addEventListener('click', async () => {
const data = {