Browse Source

#254: + check 'effectAllowed' on 'dragover'

drop-text
RubaXa 10 years ago
parent
commit
15d6f07a01
  1. 4
      Sortable.js

4
Sortable.js

@ -466,6 +466,10 @@
isOwner = (activeGroup === group),
canSort = options.sort;
if (evt.dataTransfer && evt.dataTransfer.effectAllowed !== 'move') {
return;
}
if (evt.preventDefault !== void 0) {
evt.preventDefault();
!options.dragoverBubble && evt.stopPropagation();

Loading…
Cancel
Save