-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
The editor is working great. I do have a problem with the calls for delete, rename, etc.
deleteUrl seems to be declared from editor.html
let deleteUrl = 'save.php?action=delete';
but from builder.js, it returns: ReferenceError: deleteUrl is not defined. What am I missing?
deletePage: function(element, e) {
...
fetch(deleteUrl, { method: "POST", body: new URLSearchParams({file:page.file}) })
.then((response) => {
if(!response.ok)
{ return Promise.reject(response); }
return response.text()
})
Metadata
Metadata
Assignees
Labels
No labels