From b2024ec0b237d3a2bdf6b3832f5b52fc01f906aa Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 6 Dec 2025 02:50:45 +0100 Subject: [PATCH] asdasd --- public/editor/bridge-core.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/editor/bridge-core.js b/public/editor/bridge-core.js index 4d4efc7..61550f5 100644 --- a/public/editor/bridge-core.js +++ b/public/editor/bridge-core.js @@ -268,8 +268,10 @@         // Prüft, ob 'storageBase' bereits Query-Parameter enthält ('?')         const actionSeparator = storageBase.indexOf('?') === -1 ? '?' : '&'; -        const loadUrl = storageBase + actionSeparator + 'action=get&resource=' + (window.__editorMode || 'templates') + '&id=' + (window.__editorId || 0); // KRITISCHE ERGÄNZUNG: Resource und ID -        const storeUrl = storageBase + actionSeparator + 'action=update&resource=' + (window.__editorMode || 'templates') + '&id=' + (window.__editorId || 0); // KRITISCHE ERGÄNZUNG: Resource und ID + const resourceName = (window.__editorMode || 'templates'); + const entityId = (window.__editorId || 0); + const loadUrl = `${storageBase}${actionSeparator}action=${resourceName}.get&id=${entityId}`; + const storeUrl = `${storageBase}${actionSeparator}action=${resourceName}.update&id=${entityId}`;         const storageConf = {             type: 'remote',