Upload via GUI (72 Dateien)

This commit is contained in:
2026-10-25 17:48:07 +00:00
parent e812dac9e4
commit 7b6403ceb0
7 changed files with 83 additions and 3 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ window.deskhub = {
login: async () => ({ staff }), logout: async () => true, notify: async () => {}, badge: async () => {},
openWeb: async (path) => { window.__web = path; return { data: true }; },
api: async (req) => { window.__calls.push(req.path); if (req.body) (window.__bodies = window.__bodies || {})[req.path] = req.body; window.__bodies = window.__bodies || {}; const f = routes[req.path]; return f ? { data: f(req) } : { error: { message: 'Mock: ' + req.path + ' nicht vorhanden' } }; },
onSessionExpired() {}, onNavigate() {},
onSessionExpired() {}, onNavigate() {}, onUpdateProgress() {},
updateCheck: async () => ({ data: window.__update || { available: false, packaged: true, current: '1.1.0' } }), updateInstall: async () => ({ data: true }),
};
</script>
<script src="../src/lang-en.js"></script><script src="../src/i18n.js"></script><script src="../src/app.js"></script><script src="../src/admin-extra.js"></script><script src="../src/admin-status.js"></script>