Skip to content

Commit e9eff3b

Browse files
authored
Add check to avoid: Uncaught TypeError: this.blockMsg is null (#1380)
1 parent be65e79 commit e9eff3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/mage/adminhtml/product/composite/configure.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ ProductConfigure.prototype = {
5454
* Initialize object
5555
*/
5656
initialize: function() {
57-
this._initWindowElements();
57+
if ($("product_composite_configure")) {
58+
this._initWindowElements();
59+
}
5860
},
5961

6062
/**

0 commit comments

Comments
 (0)