Skip to content

EspoCRM – Open Source CRM Application

Restore actionData.handler support not planned for removal

Yurii75b18a9455de
diff --git a/client/src/utils.ts b/client/src/utils.ts
index f8666bdda9..00ffcccc82 100644
--- a/client/src/utils.ts
+++ b/client/src/utils.ts
@@ -188,6 +188,8 @@ const Utils = {
let fired = false;
+ handler = actionData.handler ?? handler ?? null;
+
if (handler) {
event.preventDefault();
event.stopPropagation();