onDrop: function (target, source, point) { var parent = $(this).tree('getParent', source.target); // parent become null