Skip to content
Snippets Groups Projects
Commit a877164c authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Navigate away on attachment and download links

parent 41e44183
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ class FAQ {
if($attachment['size'])
$size=sprintf('&nbsp;<small>(<i>%s</i>)</small>',Format::file_size($attachment['size']));
$str.=sprintf('<a class="Icon file" href="file.php?h=%s" target="%s">%s</a>%s&nbsp;%s',
$str.=sprintf('<a class="Icon file no-pjax" href="file.php?h=%s" target="%s">%s</a>%s&nbsp;%s',
$hash, $target, Format::htmlchars($attachment['name']), $size, $separator);
}
......
......@@ -250,6 +250,7 @@
// ------------------------> Export <-----------------------
$('<a>').attr({'href':'ajax.php/report/overview/table/export?group='
+group+'&start='+start+'&stop='+stop}).append('Export')
.addClass('no-pjax')
.appendTo($('<li>')
.appendTo(p));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment