IDEMPIERE-3980 Thanks to Alessandro Cordella for reporting
This commit is contained in:
parent
41f6590608
commit
1f701bbced
|
@ -482,6 +482,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
|||
AMedia media = new AMedia(entry.getName(), null, contentType, entry.getData());
|
||||
|
||||
preview.setContent(media);
|
||||
preview.setClientAttribute("sandbox", "");
|
||||
preview.setVisible(true);
|
||||
preview.invalidate();
|
||||
}
|
||||
|
|
|
@ -237,7 +237,9 @@ public class WMediaDialog extends Window implements EventListener<Event>
|
|||
AMedia media = createMedia();
|
||||
|
||||
preview.setContent(media);
|
||||
preview.setClientAttribute("sandbox", "");
|
||||
preview.setVisible(true);
|
||||
preview.invalidate();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -85,6 +85,10 @@
|
|||
<!-- /////////// -->
|
||||
<!-- Miscellaneous -->
|
||||
<session-config>
|
||||
<cookie-config>
|
||||
<http-only>true</http-only>
|
||||
<secure>true</secure>
|
||||
</cookie-config>
|
||||
<session-timeout>60</session-timeout>
|
||||
</session-config>
|
||||
|
||||
|
|
Loading…
Reference in New Issue