Action buttons get clicked twice in Gin

Issue information

From user: jurgenhaas

Contribution record

Fork management

Problem/Motivation

When clicking the save button (or any of the others), the function gets executed twice. This is because the click subscriptions by bpmn_io use selectors like input.button.eca-save. The problem is, when Gin is installed, that finds 2 buttons, the visible one in the sticky toolbar and the hidden one from the original form, which Gin is hiding.

Proposed resolution

Make the selectors more precise with form input.button.eca-save.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information