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