Really Drag and Drop function

2 posts, 0 answers
  1. David
    David avatar
    13 posts
    Member since:
    Aug 2012

    Posted 20 Aug 2012 Link to this post

    Hello,

    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
  2. David
    David avatar
    13 posts
    Member since:
    Aug 2012

    Posted 20 Aug 2012 Link to this post

    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)

    Best regards,
    -David
  3. Kendo UI is VS 2017 Ready
Back to Top