jQuery 3.x and RowReorder issue

jQuery 3.x and RowReorder issue

dashiedashie Posts: 1Questions: 1Answers: 0

Hello,

I was previously using jQuery 2.x and all was fine, with jQuery 3.x RowReorder doesn't seems to works anymore.

Here is a jsFiddle I can reproduce the issue with my html & JS : https://jsfiddle.net/rhzyprjw/6/

The console shows:

Uncaught TypeError: Cannot read property 'node' of undefined
    at HTMLTableElement.<anonymous> (fiddle.jshell.net/:72)
    at HTMLTableElement.dispatch (jquery-3.2.1.min.js:3)
    at HTMLTableElement.q.handle (jquery-3.2.1.min.js:3)
    at Object.trigger (jquery-3.2.1.min.js:4)
    at r.fn.init.triggerHandler (jquery-3.2.1.min.js:4)
    at t.<anonymous> (datatables.min.js:190)
    at t.iterator (datatables.min.js:112)
    at j._emitEvent (datatables.min.js:190)
    at j._mouseUp (datatables.min.js:195)
    at HTMLDocument.<anonymous> (datatables.min.js:191)

And the row doesn't drag or trigger the event since "diff" is empty.

Is this an issue with jQuery 3.x or my code needs to be updated in some way ?

This discussion has been closed.