Skip to content
Snippets Groups Projects
Commit 1194f234 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

bug introduced in merge

parent 5de6976b
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!488Merge 12.1.1 into master
Pipeline #7230 passed
......@@ -511,8 +511,8 @@ GuiUtils.prototype.createIcon = function (params) {
if (params.icon !== undefined && params.icon !== null) {
var img = document.createElement("img");
img.src = GuiConnector.getImgPrefix() + params.icon;
if (onclickFunction !== undefined) {
img.onclick = onclickFunction;
if (params.onclickFunction !== undefined) {
img.onclick = params.onclickFunction;
img.className = "minerva-search-result-icon minerva-clickable";
} else {
img.className = "minerva-search-result-icon";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment