Skip to content

Commit 5722010

Browse files
committed
MC-37418: [Safari browser] Popup not closed with a configuration.
1 parent 63434d2 commit 5722010

File tree

1 file changed

+5
-1
lines changed
  • app/code/Magento/Catalog/view/adminhtml/web/catalog/product/composite

1 file changed

+5
-1
lines changed

app/code/Magento/Catalog/view/adminhtml/web/catalog/product/composite/configure.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ define([
4747
* Initialize object
4848
*/
4949
initialize: function () {
50-
var self = this;
50+
var self = this,
51+
popupDialog = jQuery('#product_composite_configure');
5152

5253
this._initWindowElements();
5354
jQuery.async('#product_composite_configure', function (el) {
55+
if (el !== popupDialog[0]) {
56+
el = popupDialog[0];
57+
}
5458
self.dialog = jQuery(el).modal({
5559
title: jQuery.mage.__('Configure Product'),
5660
type: 'slide',

0 commit comments

Comments
 (0)