Commit 87d3a2a7 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

899: Darstellung von links

Task-Url: https://pm.winseda.de/issues/899
parent 51da10dc
Pipeline #7443 failed with stages
in 2 seconds
......@@ -813,10 +813,10 @@ QueryHandler.prototype.handleImages = function(collectionId, endpointId, dataset
var tmpsrc = undefined;
var src = undefined;
if (placeholder) {
tmbsrc = __util.composeUrl("cachedimages/" + collectionId + "?i=" + images[j]);
tmbsrc = __util.composeUrl("cachedimages/" + collectionId + "?i=" + encodeURIComponent(images[j]));
} else {
src = __util.composeUrl("cachedimages/" + collectionId + "/" + endpointId + "/" + datasetId + "?i=" + images[j] + "&type=DISPLAY");
tmbsrc = __util.composeUrl("cachedimages/" + collectionId + "/" + endpointId + "/" + datasetId + "?i=" + images[j]);
src = __util.composeUrl("cachedimages/" + collectionId + "/" + endpointId + "/" + datasetId + "?i=" + encodeURIComponent(images[j]) + "&type=DISPLAY");
tmbsrc = __util.composeUrl("cachedimages/" + collectionId + "/" + endpointId + "/" + datasetId + "?i=" + encodeURIComponent(images[j]));
}
$.ajax({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment