Bug 35012: Apply change to all events
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 9 Nov 2023 13:16:05 +0000 (13:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Nov 2023 13:32:40 +0000 (10:32 -0300)
commite9326f0e86881f95fd79b2dd7a2e9578ab517116
treed00d796a035dd14901890d54c951f2c534a0969a
parentec3fe5d41e03d969b876f0948e81389b0a20df4c
Bug 35012: Apply change to all events

We should not just look at Click.

Test plan:
[1] Apply the example patch for a Blur action in barcode.pl.
[2] Check that barcode.pl is active in your framework and that
    autoBarcode is not disabled.
[3] Open the browser dev console.
[4] Tab a few times through barcode in the neworderempty form of
    Acquisition. If you leave the field, the Blur event fires.
    => Without this patch you will see two console lines (FF may
    show a little '2' icon at the right side) added. With this
    patch just one.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jan Kissig <jkissig@th-wildau.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/FrameworkPlugin.pm