Fix dragdrop regression
@@ -11,11 +11,8 @@ function initContainerDD(e) {
return true;
}
function prepareDD(e) {
- var h = $(e);
- // locate a handle
- while (h!=null && !h.hasClassName("dd-handle"))
- h = h.down() ? h.down() : h.next();
- if (h!=null) {
+ var h = e.querySelector('.dd-handle');
+ if (h !== undefined) {
var dd = new DragDrop(e);
dd.setHandleElId(h);
}
