Skip to content
Snippets Groups Projects
Commit 6902540c authored by Robert Loipfinger's avatar Robert Loipfinger Committed by Sebastian Listl
Browse files

1063550 Dokumente als Links: Link angepasst

(cherry picked from commit 235a2907)
parent 98f7dfcc
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ if(vars.exists("$param.AssignmentTable_param") &&
for( var i = 0; i < metadata.length; i++)
{
var previewAvatar = metadata[i].preview || "VAADIN:FILE";
var link = "/client/binary?no-cache=true&id=" + metadata[i].id;
var link = vars.get("$sys.origin") + "/client/binary?no-cache=true&id=" + metadata[i].id;
documents.push( [metadata[i].id, metadata[i].filename, link, metadata[i].filename, metadata[i].size,
metadata[i].edit, previewAvatar, metadata[i].mimetype,
metadata[i].description, metadata[i].keyword, assignmentRowId]);
......
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