From 02818b62bb83f3a3e600aa23416c894ecb8cf6ab Mon Sep 17 00:00:00 2001 From: Aliaksandr Hrashchanka <36040412+graschik@users.noreply.github.com> Date: Sat, 11 May 2024 20:34:25 +0300 Subject: [PATCH] Fix "Uncaught ReferenceError: form is not defined" --- view/adminhtml/web/js/wysiwyg/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/adminhtml/web/js/wysiwyg/widget.js b/view/adminhtml/web/js/wysiwyg/widget.js index b3a7bea..691f9ad 100644 --- a/view/adminhtml/web/js/wysiwyg/widget.js +++ b/view/adminhtml/web/js/wysiwyg/widget.js @@ -532,7 +532,7 @@ define([ var timeout, locks; if (_.isEmpty(this.pageBuilderInstances)) { - form.submit(); + submit(); } else { timeout = setTimeout(function () { consoleLogger.error('Page Builder was rendering for 5 seconds without releasing locks.');