Commit 141be6a3 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1255: Migrate search result presentation

Task-Url: https://pm.winseda.de/issues/1255
parent b74cbc9f
......@@ -307,12 +307,12 @@ QueryHandler.prototype.delaySearch = function(timestamp) {
QueryHandler.prototype.processResponseExecutedQueries = function(queries, explain) {
$("#executed-queries").text("");
if (explain) {
$("#search-results-container a[href='#search-results-explanations-tab']").closest("li").removeClass("hide");
$("#search-results-explanations-tab").closest("li").removeClass("hide");
for (var i=0; i<queries.length; i++) {
$("#executed-queries").append("<pre>" + queries[i] + "</pre>");
}
} else {
$("#search-results-container a[href='#search-results-explanations-tab']").closest("li").addClass("hide");
$("#search-results-explanations-tab").closest("li").addClass("hide");
}
}
......
Supports Markdown
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