nodelist: Add node id to the href of node name in the table (#84)

So it is possible to open multiple node pages in a new window/tab
This commit is contained in:
vsandre 2017-02-03 23:02:20 +01:00 committed by PetaByteBoy // Milan Pässler
parent 5cb88e8d06
commit ccc5f0f526
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ define(["sorttable", "virtual-dom", "numeral"], function (SortTable, V, numeral)
td1Content.push(V.h("a", { className: aClass.join(" "),
onclick: router.node(d),
href: "#"
href: "#!n:" + d.nodeinfo.node_id
}, d.nodeinfo.hostname))
if (has_location(d))

View file

@ -41,7 +41,7 @@ define(["moment", "virtual-dom"], function (moment, V) {
td1Content.push(V.h("a", { className: aClass.join(" "),
onclick: router.node(d),
href: "#"
href: "#!n:" + d.nodeinfo.node_id
}, d.nodeinfo.hostname))
if (has_location(d))