Skip to content
Snippets Groups Projects
Commit 1fa43c0a authored by srosse's avatar srosse
Browse files

OO-676: add download attribute to the file list

parent 25ae10d4
No related branches found
No related tags found
No related merge requests found
......@@ -259,6 +259,7 @@ public class ListRenderer {
} else { // for files, add PARAM_SERV command
ubu.buildURI(sb, new String[] { PARAM_SERV }, new String[] { "x" }, pathAndName, AJAXFlags.MODE_NORMAL);
sb.append("\" target=\"_blank\"");
sb.append(" download=\"").append(name).append("\"");
}
sb.append(">");
// icon css
......
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