Commit 32e1d5de authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

441: Fix issues related to deployment of upcoming v4-release (OPENED)

Task-Url: search#441
parent 65f0ef80
......@@ -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();
......
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