Monday, September 6, 2021
2 changes · master
Resolved issues and error corrections
The Field Service app data setup was corrected so it can be installed successfully even when demo data is not selected. This prevents installation failures and lets businesses deploy Field Service in clean production-style databases.
Original PR description
Before this commit: When trying to install FSM without demo data, it gives traceback. After this commit: It will install FSM successfully without demo data. Task-2632519
This change prevents the signing popup from opening accidentally when users resize or move signature fields while editing a sign request. It makes the signing flow smoother and avoids interruptions before fields are correctly placed.
Original PR description
In task-2475732, a feature was added that allowed users to edit sign requests while signing. This consists of adding sign items, moving them with drag and drop, resizing them and signing them after…
In task-2475732, a feature was added that allowed users to edit sign requests while signing. This consists of adding sign items, moving them with drag and drop, resizing them and signing them after they are correctly placed. After signing a signature/initial field, it is not possible to move it or resize it. Due to the differences in the HTML content between the editable sign item and the non-editable sign item, the click event registered to sign each item should be different. Currently, the click event is registered on the sign item itself, for both cases. However resizing/dragging causes the event to bubble up and trigger the click event in the sign item (afterall resize and drag-drop are just mousedown and mouseup events). This then causes the signature/opening of wizard everytime a resize or a drag is done in the added sign items. This PR solves this problem with the following approach: register the click event in the "o_sign_config_area" element instead of the sign item, when the sign item is editable. task-2636460