mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2025-01-12 22:18:29 +01:00
Fix multipledataset Go to file
This commit is contained in:
parent
f9d6ca2de9
commit
06b39d073d
@ -222,10 +222,11 @@ draft: false
|
|||||||
else if (d instanceof twoStateDataFileBase) {
|
else if (d instanceof twoStateDataFileBase) {
|
||||||
tableels.splice(3, 0, [d.GS, d.ES])
|
tableels.splice(3, 0, [d.GS, d.ES])
|
||||||
}
|
}
|
||||||
for (const el of tableels) {
|
tdtemp=$("<td/>", {
|
||||||
td = $("<td/>", {
|
|
||||||
style: "white-space: nowrap;"
|
style: "white-space: nowrap;"
|
||||||
})
|
})
|
||||||
|
for (const el of tableels) {
|
||||||
|
td=$(tdtemp).clone()
|
||||||
if (trueTypeOf(el) == "doi") {
|
if (trueTypeOf(el) == "doi") {
|
||||||
var publi = await window.Cite.async(el.string)
|
var publi = await window.Cite.async(el.string)
|
||||||
$("<a/>", {
|
$("<a/>", {
|
||||||
@ -241,11 +242,10 @@ draft: false
|
|||||||
}
|
}
|
||||||
$(row).append(td)
|
$(row).append(td)
|
||||||
}
|
}
|
||||||
$("<a/>", {
|
$(tdtemp).clone().append($("<a/>", {
|
||||||
target: "_blank",
|
target: "_blank",
|
||||||
innerText: "Go to file",
|
|
||||||
href: await d.sourceFile.getViewerURL()
|
href: await d.sourceFile.getViewerURL()
|
||||||
}).appendTo($("<td/>")).appendTo(row)
|
}).text("Go to file")).appendTo(row)
|
||||||
$(dtb).append(row)
|
$(dtb).append(row)
|
||||||
}
|
}
|
||||||
processingIndicator.isActive = true
|
processingIndicator.isActive = true
|
||||||
|
Loading…
Reference in New Issue
Block a user