Commit 65f0ef80 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 af2a4c85
......@@ -28,6 +28,7 @@ Search.prototype.init = function() {
};
Search.prototype.bindEvents = function() {
var _this = this;
$("#btn-exec-search").click(function() { search.search(true); });
$("#explain").change(function() { search.search(); });
......@@ -35,7 +36,7 @@ Search.prototype.bindEvents = function() {
$("#size").bind("slider:changed", function (event, data) {
$("#size_shown").text(data.value);
_this.queryHandler.doSearchDelayed(true);
});
// Required for page reload in FF
......
......@@ -212,7 +212,7 @@ QueryHandler.prototype.doSearchDelayed = function(initSearch) {
QueryHandler.prototype.delaySearch = function(timestamp, initSearch) {
if (timestamp===this.lastDelayedQueryTs) {
this.lastDelayedQueryTs = null;
this.doSearch(false, initSearch);
this.doSearch(undefined, initSearch);
}
};
......
......@@ -219,7 +219,7 @@ ResponseHandler.prototype.processResource = function(index, resultItem, resultEl
this.handleImages(resultElement, index, datamodelId, resultId);
} else {
// Show placeholder right away
this.showImage("#search-result-image-container-" + index, __util.composeUrl("theme/img/placeholder-logo.png"), undefined);
this.showImage("#search-result-image-container-" + index, __util.composeUrl("theme/img/placeholder-logo.png"), undefined, datamodelId, resultId);
}
if (title==undefined || title.length==0) {
title = "<em>" + __translator.translate("~eu.dariah.de.minfba.search.view.result.no_title") + "</em>";
......
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