diff --git a/package-lock.json b/package-lock.json index af8c32d7..a3d29762 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@oat-sa/tao-item-runner-qti", - "version": "0.4.2", + "version": "0.4.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2783,7 +2783,7 @@ "integrity": "sha1-sJymZK0Ei4FLsv9dTR51g4yrnJc=", "dev": true, "requires": { - "eve": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" + "eve": "git://github.com/adobe-webplatform/eve.git#eef80ed" } }, "raw-body": { diff --git a/package.json b/package.json index a09b88f6..ca3ff05f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oat-sa/tao-item-runner-qti", - "version": "0.4.2", + "version": "0.4.3", "displayName": "TAO Item Runner QTI", "description": "TAO QTI Item Runner modules", "files": [ diff --git a/src/qtiCommonRenderer/renderers/interactions/AssociateInteraction.js b/src/qtiCommonRenderer/renderers/interactions/AssociateInteraction.js index d9e3160d..2a482a1e 100644 --- a/src/qtiCommonRenderer/renderers/interactions/AssociateInteraction.js +++ b/src/qtiCommonRenderer/renderers/interactions/AssociateInteraction.js @@ -591,8 +591,10 @@ var render = function(interaction) { onend: function(e) { var $target = $(e.target); $target.removeClass('dragged'); - _resetSelection(); - + // The reason of placing delay here is that there was timing conflict between "draggable" and "drag-zone" elements. + _.delay(function(){ + _resetSelection(); + }); interactUtils.restoreOriginalPosition($target); interactUtils.iFrameDragFixOff();