Draggable+Sortable: make what is inserted configurable
|Reported by:||panzi||Owned by:|
Sometimes you don't want to paste a clone of the original item into the sortable, but something else. E.g. you might have some kind of toolbar from which you drag items into the list. In the list it then expands to "the real thing".
I made an ugly monkey patch to add such an feature, but it would be great if this would be included in jQuery UI. It is only an additional option, an tiny additional function (which handles the option to create the new element) and replacing $(self).clone()... at one point with a call to the function.