Folder-Browser für Workspace-Auswahl, Layout/Style Anpassungen
This commit is contained in:
1 parent
f4ad949db4
commit
aa2d9f1200
6 files changed
+179
-23
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user