Commit 8d697710 authored by Łukasz Nowak's avatar Łukasz Nowak

Support no redirect in frontend selector

See merge request !1
parents e0899e0e 48ba2358
...@@ -1167,7 +1167,13 @@ window.RSVP = requireModule("rsvp"); ...@@ -1167,7 +1167,13 @@ window.RSVP = requireModule("rsvp");
} else { } else {
msg += "<tr>"; msg += "<tr>";
} }
msg += '<td><a href="' + table_dict[u].url + '">' + u + '</a></td>'; msg += "<td>";
if (table_dict[u].url) {
msg += '<a href="' + table_dict[u].url + '">' + u + '</a>';
} else {
msg += u;
}
msg += "</td>";
for (y in interaction_dict) { for (y in interaction_dict) {
if (interaction_dict.hasOwnProperty(y)) { if (interaction_dict.hasOwnProperty(y)) {
msg += "<td>" + table_dict[u][y] + "</td>"; msg += "<td>" + table_dict[u][y] + "</td>";
......
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