IDEMPIERE-696 pop-up Attachment , click in refresh and this generate automatic download select file
This commit is contained in:
parent
449bb69f26
commit
0219f12ea2
|
@ -414,7 +414,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
|||
public void displaySelected() {
|
||||
MAttachmentEntry entry = m_attachment.getEntry(displayIndex);
|
||||
if (log.isLoggable(Level.CONFIG)) log.config("Index=" + displayIndex + " - " + entry);
|
||||
if (entry != null && entry.getData() != null)
|
||||
if (entry != null && entry.getData() != null && autoPreviewList.contains(entry.getContentType()))
|
||||
{
|
||||
if (log.isLoggable(Level.CONFIG)) log.config(entry.toStringX());
|
||||
|
||||
|
|
Loading…
Reference in New Issue