Add missing <td> tags in the HTML constructed by functio show_groupedtranslations

This commit is contained in:
hallgren
2010-07-13 11:54:42 +00:00
parent 8cdb33031d
commit a2fa22ed74

View File

@@ -384,8 +384,8 @@ function show_groupedtranslations(translations) {
if(to=="-1") tbody.appendChild(tr([th(text(t.to+":"))]));
for(var i=0;i<lin.length;i++) {
if(to!="-1") trans.single_translation[i]=lin[i].text;
tbody.appendChild(tr([(text(lin[i].text))]));
if (lin.length > 1) tbody.appendChild(tr([(text(lin[i].tree))]));
tbody.appendChild(tr([td(text(lin[i].text))]));
if (lin.length > 1) tbody.appendChild(tr([td(text(lin[i].tree))]));
}
trans.appendChild(wrap("table",tbody));
}