equal
deleted
inserted
replaced
172 ? currentAnnotation.url |
172 ? currentAnnotation.url |
173 : (document.location.href.replace(/#.*$/,'') + '#id=' + currentAnnotation.id)); |
173 : (document.location.href.replace(/#.*$/,'') + '#id=' + currentAnnotation.id)); |
174 e.originalEvent.dataTransfer.setData("text/x-iri-title",currentAnnotation.title); |
174 e.originalEvent.dataTransfer.setData("text/x-iri-title",currentAnnotation.title); |
175 e.originalEvent.dataTransfer.setData("text/x-iri-description",currentAnnotation.description); |
175 e.originalEvent.dataTransfer.setData("text/x-iri-description",currentAnnotation.description); |
176 e.originalEvent.dataTransfer.setData("text/x-iri-uri",url); |
176 e.originalEvent.dataTransfer.setData("text/x-iri-uri",url); |
|
177 if (typeof currentAnnotation.thumbnail !== "undefined" && currentAnnotation.thumbnail) { |
|
178 e.originalEvent.dataTransfer.setData("text/x-iri-image",currentAnnotation.thumbnail); |
|
179 } |
177 }); |
180 }); |
178 } |
181 } |
179 |
182 |
180 IriSP.Widgets.Annotation.prototype.sendBounds = function() { |
183 IriSP.Widgets.Annotation.prototype.sendBounds = function() { |
181 this.player.trigger("Annotation.boundsChanged",this.bounds); |
184 this.player.trigger("Annotation.boundsChanged",this.bounds); |