Applied patch by daniel.glazman for issue 688
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1744 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -173,6 +173,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Editor.init = function() {
|
Editor.init = function() {
|
||||||
|
// For external openers
|
||||||
|
(function() {
|
||||||
|
// let the opener know SVG Edit is ready
|
||||||
|
var w = window.opener;
|
||||||
|
if (w) {
|
||||||
|
try {
|
||||||
|
var svgEditorReadyEvent = w.document.createEvent("Event");
|
||||||
|
svgEditorReadyEvent.initEvent("svgEditorReady", true, true);
|
||||||
|
w.document.documentElement.dispatchEvent(svgEditorReadyEvent);
|
||||||
|
}
|
||||||
|
catch(e) {}
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
// Load config/data from URL if given
|
// Load config/data from URL if given
|
||||||
var urldata = $.deparam.querystring(true);
|
var urldata = $.deparam.querystring(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user