allow-modals iframe sandbox flag for the print dialog
This commit is contained in:
parent
f9db222605
commit
f08051bd48
@ -186,7 +186,7 @@ var documentsMain = {
|
|||||||
'&edit=' + 'false' +
|
'&edit=' + 'false' +
|
||||||
'×tamp=' + '';
|
'×tamp=' + '';
|
||||||
|
|
||||||
var frame = '<iframe id="loleafletframe" allowfullscreen style="width:100%;height:100%;position:absolute;" src="' + viewer + '" sandbox="allow-scripts allow-same-origin allow-popups"/>';
|
var frame = '<iframe id="loleafletframe" allowfullscreen style="width:100%;height:100%;position:absolute;" src="' + viewer + '" sandbox="allow-scripts allow-same-origin allow-popups allow-modals"/>';
|
||||||
|
|
||||||
$('#mainContainer').append(frame);
|
$('#mainContainer').append(frame);
|
||||||
documentsMain.overlay.documentOverlay('hide');
|
documentsMain.overlay.documentOverlay('hide');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user