asdasd
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user