Hey Hristo,
I added the if statement, but same problem. Ive been trying to make this work for more than 4 days and im slowly running out of ideas.
You can reproduce it using this code (url doesnt really matter…):
$(document).ready(function () {
$('#kanban').on('itemMoved', function (event) {
$.ajax({
type: "POST",
url: "create.php",
data: event
});
});
});
And the error again:
Uncaught TypeError: Cannot read property 'target' of undefined
Thanks