Responsive inline editing click-to-edit fix
Responsive inline editing click-to-edit fix
dsteinberg
Posts: 20Questions: 6Answers: 1
Hi! On the responsive inline editing page, there's a chunk of code to perform inline editing when you click a field.
When you click the child row, it's technically a td
element but not one targetable by editor so you get a dataTables.editor.min.js:284 Uncaught TypeError: Cannot read property 'contents' of undefined(…)
error (try it on the demo page!)
My fix is to change the selector to the following: tbody td:not(.child), tbody span.dtr-data
Hope this helps!
This discussion has been closed.
Replies
Thanks for pointing this out! I'll have it fixed in the next release.
Allan