Also trigger the svgEditorReady event when opened through an iframe.

This commit is contained in:
KB Jørgensen
2016-08-01 09:48:00 +02:00
parent 2246052141
commit f9b7ae97e5

View File

@@ -798,7 +798,7 @@ TODOS
(function() {
// let the opener know SVG Edit is ready (now that config is set up)
var svgEditorReadyEvent,
w = window.opener;
w = window.opener || window.parent;
if (w) {
try {
svgEditorReadyEvent = w.document.createEvent('Event');