src/widgets/Segments.js
changeset 994 d18d6b9e1078
parent 993 a7efd386872a
child 996 c472984db275
--- a/src/widgets/Segments.js	Wed Feb 27 18:39:53 2013 +0100
+++ b/src/widgets/Segments.js	Thu Feb 28 11:42:58 2013 +0100
@@ -105,6 +105,9 @@
 	        	e.originalEvent.dataTransfer.setData("text/x-iri-title",_annotation.title);
 	        	e.originalEvent.dataTransfer.setData("text/x-iri-description",_annotation.description);
 	        	e.originalEvent.dataTransfer.setData("text/x-iri-uri",url);
+	        	if (typeof _annotation.thumbnail !== "undefined" && _annotation.thumbnail) {
+	        		e.originalEvent.dataTransfer.setData("text/x-iri-image",_annotation.thumbnail);
+	        	}
 	        })
             .appendTo(list_$)
         _annotation.on("select", function() {