mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Add missing <td> tags in the HTML constructed by functio show_groupedtranslations
This commit is contained in:
@@ -384,8 +384,8 @@ function show_groupedtranslations(translations) {
|
|||||||
if(to=="-1") tbody.appendChild(tr([th(text(t.to+":"))]));
|
if(to=="-1") tbody.appendChild(tr([th(text(t.to+":"))]));
|
||||||
for(var i=0;i<lin.length;i++) {
|
for(var i=0;i<lin.length;i++) {
|
||||||
if(to!="-1") trans.single_translation[i]=lin[i].text;
|
if(to!="-1") trans.single_translation[i]=lin[i].text;
|
||||||
tbody.appendChild(tr([(text(lin[i].text))]));
|
tbody.appendChild(tr([td(text(lin[i].text))]));
|
||||||
if (lin.length > 1) tbody.appendChild(tr([(text(lin[i].tree))]));
|
if (lin.length > 1) tbody.appendChild(tr([td(text(lin[i].tree))]));
|
||||||
}
|
}
|
||||||
trans.appendChild(wrap("table",tbody));
|
trans.appendChild(wrap("table",tbody));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user