[Editor] Edits disappear on cell change, pop-up editor works fine.
[Editor] Edits disappear on cell change, pop-up editor works fine.
Everything else works fine. Data loads properly into the table, and I can edit the data using the pop-up editor tool if I check the left hand radio box and click EDIT. There are no error messages, nothing looks amok in Chrome Developer Tools; but live edit changes just don't commit, the data just reverts to the previous state when the cell focus is changed.
PHP file contains this bit to enable live editing:
$('#headend-edit').on( 'click', 'tbody td:not(:first-child)', function (e) {
editor.inline( this );
} );
The rules say to use DataTables live, but I didn't see a way to use it with the Editor plugin; sorry if I am missing something there.
This is a demo version of the Editor tool, in case that matters.
Thank you
This question has an accepted answers - jump to answer
Answers
Update - Discovered the page is not sending the POST update when attempting live edit. I do see POST messages when using the lightbox pop-up editor. I'll keep digging....
Fixed - Path was jumbled for the getpost.php stuff.