Browse Source

Reset dragResult on drag start

pull/2062/head
Artur Arseniev 7 years ago
parent
commit
35e2b09858
  1. 1
      src/block_manager/view/BlockView.js

1
src/block_manager/view/BlockView.js

@ -76,6 +76,7 @@ module.exports = Backbone.View.extend({
const content = model.get('content');
const isObj = isObject(content);
const data = isObj ? JSON.stringify(content) : content;
em.set('dragResult');
// Note: data are not available on dragenter for security reason,
// we have to use dragContent as we need it for the Sorter context

Loading…
Cancel
Save