Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
87d3a2a7
Commit
87d3a2a7
authored
Nov 05, 2018
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
js/search/search.js
View file @
87d3a2a7
...
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment