From 22422b95f2de3127a76235fa6efe17b960af9277 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu, 2 Dec 2021 21:19:39 +0000 Subject: [PATCH] Update repeatable.js --- core/src/main/resources/lib/form/repeatable/repeatable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/lib/form/repeatable/repeatable.js b/core/src/main/resources/lib/form/repeatable/repeatable.js index 3d15bf122ada..6c759e0b38b9 100644 --- a/core/src/main/resources/lib/form/repeatable/repeatable.js +++ b/core/src/main/resources/lib/form/repeatable/repeatable.js @@ -173,7 +173,7 @@ Behaviour.specify("INPUT.repeatable-add", 'repeatable', 0, function(e) { e = null; // avoid memory leak }); -Behaviour.specify("BUTTON.repeatable-delete", 'repeatable', 0, function(e) { +Behaviour.specify("BUTTON.repeatable-delete, INPUT.repeatable-delete", 'repeatable', 0, function(e) { e.addEventListener("click", function() { repeatableSupport.onDelete(e); })