David Slavík
David Slavík

Reputation: 73

KendoDraggable - Really Drag and Drop function

I would like to ask for help with my D&D function...

Here is a Fiddle: http://jsfiddle.net/B5kJf/5/

Function D&D is implemented but I can't fix bug when you drop object to his original target. If you do it, object will split in two.

Please help me. -David

Upvotes: 0

Views: 2324

Answers (1)

David Slavík
David Slavík

Reputation: 73

I found issue in this example: http://jsfiddle.net/RichardAD/K27fu/

Only one thing what was needed is change this line:

this.element.html(this.element.html() + e.draggable.element[0].outerHTML);

By this:

this.element.append(e.draggable.currentTarget);

Hopes that helps other...

Best regards, -David

Upvotes: 1

Related Questions