Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
42796570
Commit
42796570
authored
Apr 19, 2021
by
Gradl, Tobias
Browse files
414: Fix issues with loading collection and resources images (OPENED)
Task-Url:
search#414
parent
88820e1f
Changes
1
Show whitespace changes
Inline
Side-by-side
js/search/search.sourceSelection.js
View file @
42796570
/*var sourceSelection;
$(document).ready(function() {
sourceSelection = new SourceSelection({});
sourceSelection.handleSelection();
});*/
var
SourceSelection
=
function
(
options
)
{
this
.
options
=
$
.
extend
({
listSize
:
5
,
...
...
@@ -134,7 +128,7 @@ SourceSelection.prototype.getSelectionDialog = function() {
modalFormHandler
=
new
ModalFormHandler
({
formUrl
:
"
/
getCollectionSelectionDialog
"
,
form
Full
Url
:
__util
.
composeRelativeUrl
(
"
getCollectionSelectionDialog
"
)
,
method
:
"
POST
"
,
data
:
JSON
.
stringify
({
"
sourceIds
"
:
_this
.
getSelectedSourceIds
()}),
contentType
:
"
application/json
"
,
...
...
Write
Preview
Supports
Markdown
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