Skip to content

Commit 2d287aa

Browse files
committed
MC-15981: Page Builder Render
1 parent 8f69d21 commit 2d287aa

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/js/form

1 file changed

+1
-4
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/form-mixin.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ define(['jquery', 'underscore', 'Magento_PageBuilder/js/events', 'consoleLogger'
3535
*/
3636
save: function (redirect, data) {
3737
var self = this,
38-
superFunction = this._super,
39-
submit = function () {
40-
superFunction.apply(self, [redirect, data]);
41-
};
38+
submit = this._super.bind(self, redirect, data);
4239

4340
if (this.pageBuilderInstances.length > 0) {
4441
let locks = this.pageBuilderInstances.map(function (instance) {

0 commit comments

Comments
 (0)