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++) {
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},
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