Commit f5e7094d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix links to file attachments on view blog page

parent 8a656656
......@@ -128,7 +128,7 @@ postlist.rowfunction = function(d, n, gd) {
for (var i = 0; i < d.files.length; i++) {
filerows.push(TR({'class':'r'+((i+1)%2)},
TD(null, IMG({'src':get_themeurl('images/' + d.files[i].artefacttype + '.gif')})),
TD(null, A({'href':config.wwwroot+'artefact/file/download.php?file='+d.files[i].file},
TD(null, A({'href':config.wwwroot+'artefact/file/download.php?file='+d.files[i].attachment},
d.files[i].title)),
TD(null, d.files[i].description)));
}
......
Supports Markdown
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