Commit 35e2b0ec authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

445: Link from search results presentation to quick-search * on

respective collection (OPENED)

Task-Url: search#445
parent a86cb5d2
......@@ -37,8 +37,21 @@ ResultItem.prototype.init = function() {
.append(__translator.translate("~eu.dariah.de.minfba.search.view.labels." + (this.iframe ? "export_dataset_to" : "download")))
.removeClass("hide");
$(function () { $('[data-toggle="tooltip"]').tooltip() });
this.initShowMoreButton();
};
ResultItem.prototype.initShowMoreButton = function() {
$('#collapseSecondaryInfo').on('hidden.bs.collapse', function () {
$('#btn-collapse-secondary-info i').attr("class", "fas fa-chevron-down");
});
$('#collapseSecondaryInfo').on('shown.bs.collapse', function () {
$('#btn-collapse-secondary-info i').attr("class", "fas fa-chevron-up");
});
}
ResultItem.prototype.toggleCollapsed = function(button) {
var indicator = $(button).find(".fas");
......
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