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
32e1d5de
Commit
32e1d5de
authored
Aug 18, 2021
by
Gradl, Tobias
Browse files
441: Fix issues related to deployment of upcoming v4-release (OPENED)
Task-Url:
search#441
parent
65f0ef80
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/home.js
View file @
32e1d5de
...
...
@@ -22,8 +22,26 @@ var Home = function(options) {
analyzer
:
"
Wordcloud
"
,
tagcount
:
100
},
options
)
__translator
.
addTranslations
([
"
~eu.dariah.de.minfba.common.labels.less
"
,
"
~eu.dariah.de.minfba.common.labels.more
"
]);
__translator
.
getTranslations
();
this
.
initShowMoreButton
();
};
Home
.
prototype
.
initShowMoreButton
=
function
()
{
$
(
'
#collapseShowMore
'
).
on
(
'
hidden.bs.collapse
'
,
function
()
{
$
(
'
#btn-collapse-more-info
'
).
text
(
__translator
.
translate
(
"
~eu.dariah.de.minfba.common.labels.more
"
));
});
$
(
'
#collapseShowMore
'
).
on
(
'
shown.bs.collapse
'
,
function
()
{
$
(
'
#btn-collapse-more-info
'
).
text
(
__translator
.
translate
(
"
~eu.dariah.de.minfba.common.labels.less
"
));
});
}
Home
.
prototype
.
handleTagTextClicked
=
function
(
tag
)
{
$
(
"
#expression
"
).
val
(
tag
.
text
);
$
(
"
#search-form
"
).
submit
();
...
...
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