Also trigger the svgEditorReady event when opened through an iframe.
parent
2246052141
commit
f9b7ae97e5
|
@ -798,7 +798,7 @@ TODOS
|
||||||
(function() {
|
(function() {
|
||||||
// let the opener know SVG Edit is ready (now that config is set up)
|
// let the opener know SVG Edit is ready (now that config is set up)
|
||||||
var svgEditorReadyEvent,
|
var svgEditorReadyEvent,
|
||||||
w = window.opener;
|
w = window.opener || window.parent;
|
||||||
if (w) {
|
if (w) {
|
||||||
try {
|
try {
|
||||||
svgEditorReadyEvent = w.document.createEvent('Event');
|
svgEditorReadyEvent = w.document.createEvent('Event');
|
||||||
|
|
Loading…
Reference in New Issue