Removed the target for the file link in the FileAttachmentsTable which caused the file to be opended a new window/tab.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3118 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
06a8681831
commit
5b5c25e642
|
|
@ -268,7 +268,6 @@ public class FileAttachmentsTable extends Table {
|
||||||
FileAttachment attachment = new FileAttachment(new BigDecimal(downloadKey));
|
FileAttachment attachment = new FileAttachment(new BigDecimal(downloadKey));
|
||||||
final Link link = new Link(attachment.getDisplayName(),
|
final Link link = new Link(attachment.getDisplayName(),
|
||||||
Utilities.getAssetURL(attachment));
|
Utilities.getAssetURL(attachment));
|
||||||
link.setTargetFrame("fileview");
|
|
||||||
return link;
|
return link;
|
||||||
// Utilities.getAssetURL(attachment));
|
// Utilities.getAssetURL(attachment));
|
||||||
//return new Link(attachment.getDisplayName(),
|
//return new Link(attachment.getDisplayName(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue