I'm getting an error using the altEditor plugin. I'm using the serverSide AJAX data method and occasionally it will throw in an extra '}' on a newline on the onEditRow function. It still edits the data in the table and in the database but I want to know where this error is coming from.
VM6792:2 Uncaught SyntaxError: Unexpected token } in JSON at position 324
at JSON.parse (<anonymous>)
at s._editRowCallback (datatables.bundle.js:1)
at Object.success (datatables.bundle.js:1)
at n (vendors.bundle.js:1)
at Object.fireWith [as resolveWith] (vendors.bundle.js:1)
at c (vendors.bundle.js:1)
at XMLHttpRequest.<anonymous> (vendors.bundle.js:1)
_editRowCallback @ datatables.bundle.js:1
(anonymous) @ datatables.bundle.js:1
n @ vendors.bundle.js:1
fireWith @ vendors.bundle.js:1
c @ vendors.bundle.js:1
(anonymous) @ vendors.bundle.js:1
load (async)
send @ vendors.bundle.js:1
ajax @ vendors.bundle.js:1
onEditRow @ customers.php:2988
_editRowData @ datatables.bundle.js:1
(anonymous) @ datatables.bundle.js:1
dispatch @ vendors.bundle.js:1
m.handle @ vendors.bundle.js:1
Most of this code is minified so I'm having a hard time with it. Thanks in advance.