asdasd
This commit is contained in:
@@ -268,8 +268,10 @@
|
|||||||
// Prüft, ob 'storageBase' bereits Query-Parameter enthält ('?')
|
// Prüft, ob 'storageBase' bereits Query-Parameter enthält ('?')
|
||||||
const actionSeparator = storageBase.indexOf('?') === -1 ? '?' : '&';
|
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 resourceName = (window.__editorMode || 'templates');
|
||||||
const storeUrl = storageBase + actionSeparator + 'action=update&resource=' + (window.__editorMode || 'templates') + '&id=' + (window.__editorId || 0); // KRITISCHE ERGÄNZUNG: Resource und ID
|
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 = {
|
const storageConf = {
|
||||||
type: 'remote',
|
type: 'remote',
|
||||||
|
|||||||
Reference in New Issue
Block a user