Browse Source

* start event

pull/126/merge
RubaXa 10 years ago
parent
commit
2073491aa7
  1. 9
      Sortable.js

9
Sortable.js

@ -202,10 +202,6 @@
nextEl = dragEl.nextSibling; nextEl = dragEl.nextSibling;
activeGroup = this.options.group; activeGroup = this.options.group;
cloneEl = dragEl.cloneNode(true);
_css(cloneEl, 'display', 'none');
rootEl.insertBefore(cloneEl, dragEl);
dragEl.draggable = true; dragEl.draggable = true;
// Disable "draggable" // Disable "draggable"
@ -244,6 +240,11 @@
_dispatchEvent(dragEl, 'start'); _dispatchEvent(dragEl, 'start');
cloneEl = dragEl.cloneNode(true);
_css(cloneEl, 'display', 'none');
rootEl.insertBefore(cloneEl, dragEl);
} }
}, },

Loading…
Cancel
Save