We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b2873 commit 716612dCopy full SHA for 716612d
src/plugins/sortable/plugin.js
@@ -10,9 +10,6 @@ QueryBuilder.define('sortable', function(options) {
10
* Init HTML5 drag and drop
11
*/
12
this.on('afterInit', function(e) {
13
- // configure jQuery to use dataTransfer
14
- $.event.props.push('dataTransfer');
15
-
16
var placeholder;
17
var src;
18
var self = e.builder;
@@ -31,7 +28,7 @@ QueryBuilder.define('sortable', function(options) {
31
28
e.stopPropagation();
32
29
33
30
// notify drag and drop (only dummy text)
34
- e.dataTransfer.setData('text', 'drag');
+ e.originalEvent.dataTransfer.setData('text', 'drag');
35
36
src = Model(e.target);
37
0 commit comments