johnny/jquery-sortable

How to prevent child node to dragged in another parent node ... How to save Data to mysql and PHP

bugfirstx opened this issue · 2 comments

xZAfn (1)

Thank you

Hi,
include this:

$("ol.serialization").sortable({ isValidTarget: function ($item, container) { return $item.parent("ol")[0] == container.el[0]; }, ..... })

thank you so much you are a lifesaver