Home › Forums › JavaScript › Copy & Drop instead of Drag & Drop › Reply To: Copy & Drop instead of Drag & Drop
November 10, 2016 at 9:08 pm
#247763
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 );
}