fix: firefox iframe
This commit is contained in:
parent
2459279871
commit
f35cf0c500
@ -51,9 +51,13 @@
|
|||||||
// add overlay frame
|
// add overlay frame
|
||||||
var appFrame = createOverlayFrame();
|
var appFrame = createOverlayFrame();
|
||||||
$("body").append(appFrame);
|
$("body").append(appFrame);
|
||||||
|
|
||||||
|
|
||||||
// add convinient fields
|
// add convinient fields
|
||||||
appFrame.window = appFrame.contentWindow;
|
appFrame.window = appFrame.contentWindow;
|
||||||
appFrame.document = appFrame.window.document;
|
appFrame.document = appFrame.window.document;
|
||||||
|
appFrame.document.open();
|
||||||
|
appFrame.document.close();
|
||||||
global.appFrame = appFrame;
|
global.appFrame = appFrame;
|
||||||
|
|
||||||
// add print dialog content
|
// add print dialog content
|
||||||
@ -66,6 +70,8 @@
|
|||||||
// add convinient fields
|
// add convinient fields
|
||||||
printFrame.window = printFrame.contentWindow;
|
printFrame.window = printFrame.contentWindow;
|
||||||
printFrame.document = printFrame.window.document;
|
printFrame.document = printFrame.window.document;
|
||||||
|
printFrame.document.open();
|
||||||
|
printFrame.document.close();
|
||||||
global.printFrame = printFrame;
|
global.printFrame = printFrame;
|
||||||
|
|
||||||
// add listeners to redraw crads on print event
|
// add listeners to redraw crads on print event
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user