We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fec3e9 + 188f58f commit 66798a1Copy full SHA for 66798a1
src/controls/iFrameDialog/IFrameDialogContent.tsx
@@ -39,6 +39,7 @@ export class IFrameDialogContent extends React.Component<IIFrameDialogContentPro
39
private _iframeOnLoad(): void {
40
try { // for cross origin requests we can have issues with accessing frameElement
41
this._iframe.contentWindow.frameElement.cancelPopUp = this.props.close;
42
+ this._iframe.contentWindow.frameElement.commitPopUp = this.props.close;
43
}
44
catch (err) {
45
if (err.name !== 'SecurityError') {
0 commit comments