Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
fix: #2370 IE10 drag-and-drop support (#2426)
Browse files Browse the repository at this point in the history
* Fix redraw order
* Fix IE10 support for dnd
  • Loading branch information
yotamberk authored and mojoaxel committed Dec 9, 2016
1 parent 419e6cd commit 66047ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/component/ItemSet.js
Expand Up @@ -1850,7 +1850,7 @@ ItemSet.prototype._onAddItem = function (event) {
};

if (event.type == 'drop') {
var itemData = JSON.parse(event.dataTransfer.getData("text/plain"))
var itemData = JSON.parse(event.dataTransfer.getData("text"))
newItemData.content = itemData.content; // content is required
newItemData.type = itemData.type || 'box';
newItemData[this.itemsData._fieldId] = itemData.id || util.randomUUID();
Expand Down

0 comments on commit 66047ac

Please sign in to comment.