Also trigger the svgEditorReady event when opened through an iframe.
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user