I have two sortable divs, configured to allow me to drag element from div A to div B. Working great. The only thing is, my element disappears from div A when I drag it to div B. How can I prevent the element from being removed from div A?
Thanks in advance!
For reference, below is my code instantiating the sortables:
$("#leftSide").kendoSortable({
cursor: "move",
connectWith: "#rightSide",
placeholder: placeholder,
hint: hint
});
$("#rightSide").kendoSortable({
cursor: "move",
placeholder: placeholder,
hint: hint,
start: function (e) {
if (isResizing) {
e.preventDefault();
}
},
change: function (element, ui) {
element.item.height(90);
var myWidth = element.item.width();
element.item.width(myWidth - 10);
}
});