Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Copy & Drop instead of Drag & Drop Reply To: Copy & Drop instead of Drag & Drop

#247763
Shikkediel
Participant

Changing this bit of the function seems to that:

stop: function(event, ui) {
  $('.dragging').removeClass('dragging');
  if($(this).hasClass('new')) {
    var clone = $(this).clone(); 
    clone.empty();
    $(this).after(clone);
    $(this).removeClass('new');
    initDroppableSort( clone );
  }

http://jsfiddle.net/g3603Luy/