Editor node.js file upload clear error - Can't clear an image
Editor node.js file upload clear error - Can't clear an image
Editor node.js file upload clear error - Can't clear an image
Uploading a file is now working: https://datatables.net/forums/discussion/57244/editor-node-js-file-upload-example-error-a-server-error-occurred-while-uploading-the-file
Yet, when I want to clear an image in the editor view ... I can see that it shortly clear ('no file' text) the image ... but then closes the editor, reloads the page and the image is back at the record. Also the datase entry is still there.
How can I debug and solve this?
Answers
What is the client-side submitting to the server after you click the clear button and then submit the form? And what is the SQL that the server is executing as a result of the query?
Allan
I don't even get to the point to 'submit' the form. Right after I click the clear button the site reloads. As if the clear button doesn't find the function or has an error.
When I upload a file I can fetch the data like this in the backend (before I further process it ...):
To debug the frontend I tried:
Frontend console:
... but when I click the clear button, the page reloads ...
I'm going to need a link to a page showing this one I'm afraid. Clicking the clear button should not cause the page to reload. It sounds like there is another event listener being added to that button.
Allan
Hi Allan, I've sent you a private message a link to the site and login credentials! Many thanks for the help!