Is their a resolution to the Editor Entry Edit error after submitting

Is their a resolution to the Editor Entry Edit error after submitting

Kevin FKevin F Posts: 2Questions: 1Answers: 0

Editor 1.9.2

The error:

dataTables.editor.min.js:96 Uncaught TypeError: Cannot read property 'action' of null
at dataTables.editor.min.js:96
at Object.e.complete (dataTables.editor.min.js:77)
at c (jquery-3.4.1.min.js:2)
at Object.fireWith (jquery-3.4.1.min.js:2)
at l (jquery-3.4.1.min.js:2)
at XMLHttpRequest.<anonymous> (jquery-3.4.1.min.js:2)

My success function on Editor ajax post:

            success: function (d) {
                editor.destroy();
                $b('#requests').DataTable().ajax.reload(null, false);
            }

The table is updated properly, but the above error occurs and prevents any other edits.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583
    Answer ✓

    It seems odd that you're calling destroy() - that would prevent further edits. Are you able to link to your page so we can take a look?

    Colin

  • Kevin FKevin F Posts: 2Questions: 1Answers: 0

    Ah duh!

    The destroy() was the issue.

    Thx Colin

This discussion has been closed.