File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1232
1232
// Collect a new set of possible drops and save them in activeDrops.
1233
1233
// setActiveDrops should always be called when a drag has just started or a
1234
1234
// drag event happens while dynamicDrop is true
1235
- function setActiveDrops ( dragElement ) {
1235
+ function setActiveDrops ( event , dragElement ) {
1236
1236
// get dropzones and their elements that could recieve the draggable
1237
1237
var possibleDrops = collectDrops ( event , dragElement , true ) ;
1238
1238
1249
1249
var validDrops = [ ] ;
1250
1250
1251
1251
if ( dynamicDrop ) {
1252
- setActiveDrops ( dragElement ) ;
1252
+ setActiveDrops ( event , dragElement ) ;
1253
1253
}
1254
1254
1255
1255
// collect all dropzones and their elements which qualify for a drop
2485
2485
activeDrops . rects = [ ] ;
2486
2486
2487
2487
if ( ! dynamicDrop ) {
2488
- setActiveDrops ( target . _element ) ;
2488
+ setActiveDrops ( event , target . _element ) ;
2489
2489
}
2490
2490
2491
2491
return dragEvent ;
You can’t perform that action at this time.
0 commit comments