Merge pull request #12754 from calixteman/event_sb_creation
Dispatch an event on sandbox creation
This commit is contained in:
commit
f2378eb715
@ -1580,6 +1580,12 @@ const PDFViewerApplication = {
|
|||||||
URL: this.url,
|
URL: this.url,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.externalServices.isInAutomation) {
|
||||||
|
this.eventBus.dispatch("sandboxcreated", {
|
||||||
|
source: this,
|
||||||
|
});
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this._destroyScriptingInstance();
|
this._destroyScriptingInstance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user