Skip to content
Snippets Groups Projects
Commit ca8de959 authored by srosse's avatar srosse
Browse files

OO-1593: add drag and drop to graphicGapMatchInteraction

parent e054ca5c
No related branches found
No related tags found
No related merge requests found
...@@ -70,11 +70,11 @@ ...@@ -70,11 +70,11 @@
} }
gapitem.removeClass('oo-choosed'); gapitem.removeClass('oo-choosed');
var gapitemId = gapitem.attr('id'); var gapitemIdentifier = gapitem.data('qti-id');
//remove //remove
jQuery('#' + containerId).find("input[type='hidden']").each(function(index, el) { jQuery('#' + containerId).find("input[type='hidden']").each(function(index, el) {
var value = jQuery(el).val(); var value = jQuery(el).val();
if(value.indexOf(gapitemId + ' ') == 0) { if(value.indexOf(gapitemIdentifier + ' ') == 0) {
jQuery(el).remove(); jQuery(el).remove();
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment