Skip to content

Commit 66798a1

Browse files
authored
Merge pull request #313 from ministainer/iframe-dialog-commit-popup
Iframe dialog commit popup
2 parents 8fec3e9 + 188f58f commit 66798a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controls/iFrameDialog/IFrameDialogContent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export class IFrameDialogContent extends React.Component<IIFrameDialogContentPro
3939
private _iframeOnLoad(): void {
4040
try { // for cross origin requests we can have issues with accessing frameElement
4141
this._iframe.contentWindow.frameElement.cancelPopUp = this.props.close;
42+
this._iframe.contentWindow.frameElement.commitPopUp = this.props.close;
4243
}
4344
catch (err) {
4445
if (err.name !== 'SecurityError') {

0 commit comments

Comments
 (0)