Possible bug when exiting editing on top of another cell

Possible bug when exiting editing on top of another cell

javismilesjavismiles Posts: 205Questions: 38Answers: 3

Good day, this feels like a bug to me

  • I'm using latest version 1.6.5
  • load a table
  • Do a filtering search on search box to search via some criteria
  • go to any cell
  • click on the cell and edit it
  • now comes the key, if in order to finish the "on the spot" editing, you click completely outside of the table then all is ok.
  • However if you click on a different cell, the editing finishes ok, but then try to delete the searching criteria and nothing happens because a javascript error has been triggered : "dataTables.editor.min.js:51 Uncaught TypeError: Cannot read property 'contents' of undefined
    at f.inline (dataTables.editor.min.js:51)
    at HTMLTableElement.<anonymous> (dataTables.editor.min.js:50)
    at HTMLTableElement.fn (jquery-1.12.4.js:"

etc, etc

this happens consistently, its very easy to replicate.
So in order not to trigger the error, I have to make sure that after the editing I click completely outside of the table to finish the editing

Jav

Replies

This discussion has been closed.